idx int64 0 100k | question stringlengths 68 7.19k | target stringlengths 20 663 |
|---|---|---|
6,400 | returns the city concode_field_sep String zipCode concode_elem_sep String city concode_elem_sep String phone concode_elem_sep String streetName1 concode_elem_sep State state concode_field_sep String getPhone concode_elem_sep void setZipCode concode_elem_sep State getState concode_elem_sep String getZipCode concode_elem... | String function ( ) { return city ; } |
6,401 | dom : implements svgtransform #getangle . concode_field_sep float x concode_elem_sep float angle concode_elem_sep float y concode_elem_sep short type concode_elem_sep AffineTransform affineTransform concode_field_sep void setScale concode_elem_sep void setType concode_elem_sep void setTranslate concode_elem_sep float g... | float function ( ) { return angle ; } |
6,402 | retrieves a hexidecimal character sequence representing the md5 digest of the specified character sequence , using the specified encoding to first convert the character sequence into a byte sequence . if the specified encoding is null , then iso-8859-1 is assumed concode_field_sep MessageDigest md5 concode_field_sep by... | String function ( String arg0 , String arg1 ) { return StringConverter . byteToHex ( digestString ( arg0 , arg1 ) ) ; } |
6,403 | same as getstring , except it converts the string to an int for you . concode_field_sep File USER_DATA_FILE concode_elem_sep String data concode_elem_sep LinkedHashMap<String,Datum<String>> Data concode_elem_sep E defaultData concode_elem_sep String description concode_elem_sep String SEPARATOR concode_field_sep void m... | int function ( String arg0 ) { return Integer . parseInt ( getString ( arg0 ) ) ; } |
6,404 | go to previous page in history . we manage our own history concode_field_sep PluginManager pluginManager concode_elem_sep CordovaPreferences preferences concode_elem_sep CordovaInterface cordova concode_elem_sep BroadcastReceiver receiver concode_elem_sep SystemWebView webView concode_elem_sep CordovaWebView parentWebV... | boolean function ( ) { if ( webView . canGoBack ( ) ) { webView . goBack ( ) ; return true ; } return false ; } |
6,405 | obtains the condition . concode_field_sep boolean aborted concode_elem_sep RouteSpecificPool pool concode_elem_sep Thread waiter concode_elem_sep Condition cond concode_field_sep RouteSpecificPool getPool concode_elem_sep void wakeup concode_elem_sep Thread getThread concode_elem_sep boolean await concode_elem_sep void... | Condition function ( ) { return this . cond ; } |
6,406 | returns the mongo document representing the saga provided in this entry . concode_field_sep String SAGA_IDENTIFIER concode_elem_sep Set<AssociationValue> associationValues concode_elem_sep String ASSOCIATION_KEY concode_elem_sep String sagaId concode_elem_sep String sagaType concode_elem_sep byte[] serializedSaga conco... | DBObject function ( ) { return new BasicDBObject ( SAGA_TYPE , sagaType ) . append ( SAGA_IDENTIFIER , sagaId ) . append ( SERIALIZED_SAGA , serializedSaga ) . append ( ASSOCIATIONS , toDBList ( associationValues ) ) ; } |
6,407 | reinitialise parser . concode_field_sep String[] jjstrLiteralImages concode_elem_sep char curChar concode_elem_sep SimpleCharStream input_stream concode_elem_sep int[] jjrounds concode_elem_sep int[] jjstateSet concode_elem_sep long[] jjbitVec0 concode_elem_sep int jjmatchedPos concode_elem_sep java.io.PrintStream debu... | void function ( SimpleCharStream arg0 , int arg1 ) { ReInit ( arg0 ) ; SwitchTo ( arg1 ) ; } |
6,408 | throws an assertionfailedexception with the given message if the given objects are not equal , according to the equals method . concode_field_sep PlaceHolder placeHolder concode_field_sep void isTrue concode_elem_sep void isTrue concode_elem_sep void shouldNeverReachHere concode_elem_sep void shouldNeverReachHere | void function ( Object arg0 , Object arg1 , String arg2 ) { if ( ! arg1 . equals ( arg0 ) ) { throw new AssertionFailedException ( "srini_string" + arg0 + "srini_string" + arg1 + ( arg2 != null ? "srini_string" + arg2 : "srini_string" ) ) ; } } |
6,409 | returns the full command for this node . for example consider below tree , when getcommand is called on node111 , it returns `` node1 node11 node111 '' node1 | _ node11 | _ node111 | _ node12 concode_field_sep Node parent concode_elem_sep String data concode_elem_sep List<Node> children concode_elem_sep Node root conco... | String function ( ) { StringBuffer loc0 = new StringBuffer ( this . data ) ; Node loc1 = this . parent ; while ( loc1 != null ) { loc0 . insert ( 0 , loc1 . getData ( ) + "srini_string" ) ; loc1 = loc1 . getParent ( ) ; } return loc0 . toString ( ) ; } |
6,410 | strategy method for matching the exception type with the current exchange . this default implementation will match as : always true if no when predicate on the exception type otherwise the when predicate is matches against the current exchange concode_field_sep Logger LOG concode_field_sep boolean filter concode_elem_s... | boolean function ( OnExceptionDefinition arg0 , Exchange arg1 ) { if ( arg0 . getOnWhen ( ) == null || arg0 . getOnWhen ( ) . getExpression ( ) == null ) { return true ; } return arg0 . getOnWhen ( ) . getExpression ( ) . matches ( arg1 ) ; } |
6,411 | clears a specified bit in accflags . concode_field_sep int PRIVATE concode_elem_sep int PROTECTED concode_elem_sep int INTERFACE concode_elem_sep int PUBLIC concode_elem_sep int STATIC concode_elem_sep int NATIVE concode_elem_sep int SUPER concode_elem_sep int VARARGS concode_elem_sep int ANNOTATION concode_elem_sep in... | int function ( int arg0 , int arg1 ) { return arg0 & ~ arg1 ; } |
6,412 | set the store name as a metadata concode_field_sep String name concode_elem_sep boolean isEdited concode_elem_sep String artifactContainerName concode_field_sep String getName concode_elem_sep String getArtifactContainerName concode_elem_sep boolean getIsEdited concode_elem_sep void setArtifactContainerName concode_ele... | void function ( String arg0 ) { this . name = arg0 ; } |
6,413 | the status of an option , including when it was last updated and whether it is actively in use for searches . returns a reference to this object so that method calls can be chained together . concode_field_sep Boolean options concode_elem_sep OptionStatus status concode_field_sep AvailabilityOptionsStatus withOptions c... | AvailabilityOptionsStatus function ( OptionStatus arg0 ) { this . status = arg0 ; return this ; } |
6,414 | removes a property change listener . concode_field_sep PropertyChangeSupport propertyChangeSupport_ concode_elem_sep String copyright concode_elem_sep VNode root_ concode_elem_sep WorkingEventSupport workingEventSupport_ concode_elem_sep ErrorEventSupport errorEventSupport_ concode_elem_sep VObjectListener objectListen... | void function ( PropertyChangeListener arg0 ) { propertyChangeSupport_ . removePropertyChangeListener ( arg0 ) ; } |
6,415 | gets the value of the newaccountnumber property . concode_field_sep JAXBElement<ChannelInformation> channelInformation concode_elem_sep JAXBElement<String> phoneNumber concode_elem_sep JAXBElement<String> newAccountNumber concode_field_sep void setPhoneNumber concode_elem_sep JAXBElement<String> getPhoneNumber concode_... | JAXBElement < String > function ( ) { return newAccountNumber ; } |
6,416 | filters the whitespaces . this method returns ' -1 ' , if the whitespace should be removed from the stream ; otherwise it presents a replacement character . if the codepoint is no whitespace at all , the codepoint is returned unchanged . concode_field_sep PlaceHolder placeHolder concode_field_sep Object clone concode_e... | int function ( final int arg0 ) { return arg0 ; } |
6,417 | empty implementation concode_field_sep long DEFAULT_DELAY concode_elem_sep Log log concode_elem_sep T lastModif concode_elem_sep boolean interrupted concode_elem_sep C observer concode_elem_sep File file concode_elem_sep ReadWriteLock lock concode_elem_sep long expire concode_elem_sep Mutable<T> mutable concode_elem_se... | void function ( ) { } |
6,418 | clears stack but does n't affect long persistence stack . concode_field_sep Stack<String> myStack concode_elem_sep Stack<String> myPersistentStack concode_field_sep String pop concode_elem_sep int getSize concode_elem_sep String peekPersistent concode_elem_sep boolean isEmpty concode_elem_sep String[] getPersistentStac... | void function ( ) { myStack . clear ( ) ; } |
6,419 | get the type of the em device concode_field_sep PlaceHolder placeHolder concode_field_sep int parseCounter concode_elem_sep int getIntFromChars concode_elem_sep String parseAddress concode_elem_sep int parseCumulatedValue concode_elem_sep int parsePeakValue concode_elem_sep int parseCurrentValue | EMType function ( String arg0 ) { String loc0 = arg0 . substring ( 1 , 3 ) ; return EMType . getFromTypeValue ( loc0 ) ; } |
6,420 | removes all elements in the given collection that are n't accepted by the given filter . concode_field_sep boolean negated concode_elem_sep long serialVersionUID concode_elem_sep long serialVersionUID concode_elem_sep Predicate<E> f1 concode_elem_sep List<Predicate<T>> filters concode_elem_sep long serialVersionUID con... | void function ( Collection < E > arg0 , Predicate < ? super E > arg1 ) { for ( Iterator < E > loc0 = arg0 . iterator ( ) ; loc0 . hasNext ( ) ; ) { E loc1 = loc0 . next ( ) ; if ( ! arg1 . test ( loc1 ) ) { loc0 . remove ( ) ; } } } |
6,421 | a valid regular state must produce no issues . concode_field_sep SGraphFactory factory concode_elem_sep BasicDiagnostic diagnostics concode_elem_sep SGraphValidator validator concode_elem_sep StextFactory sTextFactory concode_elem_sep State state concode_elem_sep Region region concode_elem_sep Statechart statechart con... | void function ( ) { prepareStateTest ( ) ; Entry loc0 = factory . createEntry ( ) ; region . getVertices ( ) . add ( loc0 ) ; createTransition ( loc0 , state ) ; assertTrue ( validator . validate ( state , diagnostics , new HashMap < Object , Object > ( ) ) ) ; assertIssueCount ( diagnostics , 0 ) ; } |
6,422 | serialize an instance , restore it , and check for equality . concode_field_sep PlaceHolder placeHolder concode_field_sep void testCloning concode_elem_sep void testPublicCloneable concode_elem_sep void testHashCode concode_elem_sep void testEquals | void function ( ) { Crosshair loc0 = new Crosshair ( 1.0 , new GradientPaint ( 1.0f , 2.0f , Color . red , 3.0f , 4.0f , Color . BLUE ) , new BasicStroke ( 1.0f ) ) ; Crosshair loc1 = ( Crosshair ) TestUtilities . serialised ( loc0 ) ; assertEquals ( loc0 , loc1 ) ; } |
6,423 | a fast method to retrieve one row of data from the matrix as a bitarray . 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 int getHeight concode_elem_sep void set concode_elem_sep int[] getTopLeftOnBit conc... | BitArray function ( int arg0 , BitArray arg1 ) { if ( arg1 == null || arg1 . getSize ( ) < width ) { arg1 = new BitArray ( width ) ; } int loc0 = arg0 * rowSize ; for ( int loc1 = 0 ; loc1 < rowSize ; loc1 ++ ) { arg1 . setBulk ( loc1 << 5 , bits [ loc0 + loc1 ] ) ; } return arg1 ; } |
6,424 | initialize this key generator with a key size in bits and a source of randomness . 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 String getAlgorithm concode_elem_sep Pr... | void function ( int arg0 , SecureRandom arg1 ) { kgSpi . engineInit ( arg0 , arg1 ) ; } |
6,425 | sets default value . concode_field_sep Object defaultValue concode_elem_sep String displayName concode_elem_sep boolean enabled concode_elem_sep String name concode_elem_sep String toolTip concode_elem_sep String description concode_elem_sep DisplayType displayType concode_elem_sep IOptionValue[] choices concode_elem_s... | void function ( Object arg0 ) { this . defaultValue = arg0 ; } |
6,426 | 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 ) ; } |
6,427 | generified type of matcher . ie . ` public matcher < thisbit > blah ... ' concode_field_sep String factoryMethod concode_elem_sep List<String> exceptions concode_elem_sep String javaDoc concode_elem_sep String matcherClass concode_elem_sep List<Parameter> parameters concode_elem_sep String generifiedType concode_elem_s... | String function ( ) { return generifiedType ; } |
6,428 | close the underlying stream writer flushing any buffered content . concode_field_sep String DEFAULT_LINE_END concode_elem_sep int INITIAL_STRING_SIZE concode_elem_sep char DEFAULT_SEPARATOR concode_elem_sep Writer rawWriter concode_elem_sep ResultSetHelper resultService concode_elem_sep PrintWriter pw concode_elem_sep ... | void function ( ) { flush ( ) ; pw . close ( ) ; rawWriter . close ( ) ; } |
6,429 | search - subsetting _ summary and _ elements concode_field_sep String PATIENT_NAME concode_elem_sep IGenericClient client concode_elem_sep FhirContext ourCtx concode_elem_sep int ourPort concode_elem_sep Server jettyServer concode_field_sep void testConformance concode_elem_sep void testVRead concode_elem_sep void setU... | void function ( ) { client . search ( ) . forResource ( Patient . class ) . returnBundle ( ca . uhn . fhir . model . dstu2 . resource . Bundle . class ) . execute ( ) ; } |
6,430 | the server sync count for this record . concode_field_sep java.util.Date lastModifiedDate concode_elem_sep String lastModifiedBy concode_elem_sep Long syncCount concode_elem_sep String value concode_elem_sep String key concode_elem_sep java.util.Date deviceLastModifiedDate concode_field_sep String getKey concode_elem_s... | Long function ( ) { return this . syncCount ; } |
6,431 | parses a file containing sql statements into a string array that contains only the sql statements . comments and white spaces in the file are not parsed into the string array . note the file must not contained malformed comments and all sql statements must end with a semi-colon '' ; '' in order for the file to be parse... | String [ ] function ( Reader arg0 ) { return parseSqlFile ( new BufferedReader ( arg0 ) ) ; } |
6,432 | rounds the result of a / a + b to a precision of two after digit numbers . concode_field_sep PlaceHolder placeHolder concode_field_sep double percentDiv concode_elem_sep double round concode_elem_sep double percentPlus concode_elem_sep String percentFrom | double function ( final double arg0 , final double arg1 ) { return ( ( long ) ( ( arg0 / ( arg0 + arg1 ) ) * 10000 ) / 100. ) ; } |
6,433 | tests that the entity listeners are correctly invoked and have access to the java : comp/ejbcontext when an entity is persisted via a stateful cmt bean concode_field_sep InitialContext iniCtx concode_elem_sep String ARCHIVE_NAME concode_field_sep void testCDICallbackInvoked concode_elem_sep T lookup concode_elem_sep T ... | void function ( ) { MyListener . setInvocationCount ( 0 ) ; SFSBCMT loc0 = lookup ( "srini_string" , SFSBCMT . class ) ; this . doCMTTest ( loc0 , 2 ) ; } |
6,434 | predicate that returns true if the content-size of a request is above a given value . concode_field_sep PlaceHolder placeHolder concode_field_sep Predicate suffixes concode_elem_sep Predicate or concode_elem_sep Predicate prefix concode_elem_sep Predicate parse concode_elem_sep Predicate parse concode_elem_sep Predicat... | Predicate function ( final long arg0 ) { return new MaxContentSizePredicate ( arg0 ) ; } |
6,435 | removes the tablemodellistener from this translator . concode_field_sep ArrayList listeners concode_elem_sep int start concode_elem_sep int end concode_elem_sep TableModel model concode_elem_sep TableEventTranslator eventHandler concode_field_sep void addTableModelListener concode_elem_sep void addTableModelListener co... | void function ( final TableModelListener arg0 ) { listeners . remove ( arg0 ) ; } |
6,436 | turn off the voice associated with the given tag if allocated . concode_field_sep UnitVoice voice concode_elem_sep VoiceTracker[] trackers concode_elem_sep Synthesizer synthesizer concode_elem_sep int presetIndex concode_elem_sep int mPresetIndex concode_elem_sep int maxVoices concode_elem_sep long tick concode_elem_se... | void function ( final int arg0 , TimeStamp arg1 ) { getSynthesizer ( ) . scheduleCommand ( arg1 , new ScheduledCommand ( ) { @ Override public void run ( ) { VoiceTracker loc0 = findVoice ( arg0 ) ; if ( loc0 != null ) { loc0 . voice . noteOff ( getSynthesizer ( ) . createTimeStamp ( ) ) ; off ( arg0 ) ; } } } ) ; } |
6,437 | returns the authorized roles for the specified access mode . the collection can be null if we do n't have a rule , meaning the rule will have to searched in the parent node concode_field_sep String ROOT_ROLE concode_elem_sep SecureTreeNode parent concode_elem_sep Map<AccessMode,Set<String>> authorizedRoles concode_elem... | Set < String > function ( AccessMode arg0 ) { return authorizedRoles . get ( arg0 ) ; } |
6,438 | get custom serializer concode_field_sep com.google.api.ads.dfa.axis.v1_19.AdBase ad concode_elem_sep java.lang.String clickCommand concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep boolean __hashCodeCalc concode_elem_sep org.apache.axis.description.TypeDesc typeDesc concode_elem_sep com.google.api.ads.dfa... | org . apache . axis . encoding . Serializer function ( java . lang . String arg0 , java . lang . Class arg1 , javax . xml . namespace . QName arg2 ) { return new org . apache . axis . encoding . ser . BeanSerializer ( arg1 , arg2 , typeDesc ) ; } |
6,439 | returns a string containing the tokens joined by delimiters . concode_field_sep PlaceHolder placeHolder concode_field_sep boolean equals concode_elem_sep boolean isEmpty | String function ( CharSequence arg0 , Iterable arg1 ) { StringBuilder loc0 = new StringBuilder ( ) ; boolean loc1 = true ; for ( Object loc2 : arg1 ) { if ( loc1 ) { loc1 = false ; } else { loc0 . append ( arg0 ) ; } loc0 . append ( loc2 ) ; } return loc0 . toString ( ) ; } |
6,440 | add a specific number of arguments to this expression . the children are popped off the head of the expressions . concode_field_sep String[] usage concode_elem_sep FindOptions options concode_elem_sep LinkedList<String> arguments concode_elem_sep Configuration conf concode_elem_sep String[] help concode_elem_sep Linked... | void function ( Deque < String > arg0 , int arg1 ) { for ( int loc0 = 0 ; loc0 < arg1 ; loc0 ++ ) { addArgument ( arg0 . pop ( ) ) ; } } |
6,441 | sets the value of the value property . concode_field_sep String value concode_elem_sep boolean enabled concode_field_sep String getValue concode_elem_sep void setEnabled concode_elem_sep boolean isEnabled | void function ( String arg0 ) { this . value = arg0 ; } |
6,442 | override this method to do any cleanup needed after generation concode_field_sep String SCT_GENERATOR_CONSOLE concode_elem_sep IGeneratorBridge bridge concode_elem_sep MessageConsoleStream error concode_elem_sep Injector injector concode_elem_sep MessageConsoleStream info concode_field_sep void refreshTargetProject con... | void function ( GeneratorEntry arg0 ) { } |
6,443 | returns the current status of versioning for this bucket versioning configuration object , indicating if versioning is enabled or not for a bucket . concode_field_sep Boolean isMfaDeleteEnabled concode_elem_sep String SUSPENDED concode_elem_sep String OFF concode_elem_sep String ENABLED concode_elem_sep String status c... | String function ( ) { return status ; } |
6,444 | returns an expression after parsing the input . may fail in case of a syntax error . should be called once per instance . concode_field_sep Token tok concode_elem_sep String sample concode_elem_sep Scanner lex concode_field_sep void expected concode_elem_sep void match concode_elem_sep Expression expr concode_elem_sep ... | Expression function ( ) { tok = lex . nextToken ( ) ; Expression loc0 = expr ( ) ; match ( Token . EOF ) ; return loc0 ; } |
6,445 | assigns the table object on which this object is to report . concode_field_sep short tableIndexOther concode_elem_sep int HALF_MAX_INT concode_elem_sep int bestRowNotPseudo concode_elem_sep int bestRowTransaction concode_elem_sep int hnd_column_remarks concode_elem_sep int hnd_table_remarks concode_elem_sep int bestRow... | void function ( Table arg0 ) { this . table = arg0 ; } |
6,446 | sets the framing rectangle of this shape to be the specified rectangle2d . the framing rectangle is used by the subclasses of rectangularshape to define their geometry . concode_field_sep PlaceHolder placeHolder concode_field_sep boolean intersects concode_elem_sep Rectangle2D getFrame concode_elem_sep double getMaxX c... | void function ( Rectangle2D arg0 ) { setFrame ( arg0 . getX ( ) , arg0 . getY ( ) , arg0 . getWidth ( ) , arg0 . getHeight ( ) ) ; } |
6,447 | writes a single zero 'd block . concode_field_sep int DEFAULT_BLOCKS_PER_RECORD concode_elem_sep int DEFAULT_COMPRESSION concode_elem_sep byte[] ZERO_BLOCK concode_elem_sep OutputStream writeStream concode_elem_sep boolean debug concode_elem_sep int NO_COMPRESSION concode_elem_sep File targetFile concode_elem_sep int G... | void function ( ) { writePadBlocks ( 1 ) ; } |
6,448 | zip . concode_field_sep ZipOutputStream zos concode_field_sep void unzip concode_elem_sep void addFile | void function ( File arg0 , File arg1 ) { zos = new ZipOutputStream ( new FileOutputStream ( arg1 ) ) ; addFile ( arg0 , zos , arg0 ) ; zos . flush ( ) ; zos . close ( ) ; } |
6,449 | returns the format string this controls the overall structure of the label . concode_field_sep String formatString concode_elem_sep long serialVersionUID concode_elem_sep DateFormat yDateFormat concode_elem_sep NumberFormat yFormat concode_elem_sep DateFormat xDateFormat concode_elem_sep String nullYString concode_elem... | String function ( ) { return this . formatString ; } |
6,450 | add a responsehandler by calling one of the three utility methods : startswith string prefix ; contains string phrase ; regexmatches string regex ; within the extending class 's overriding oninit method concode_field_sep ResponseHandler m_responseHandler concode_elem_sep Conversation m_conversation concode_elem_sep Req... | void function ( ResponseHandler arg0 , RequestHandler arg1 ) { m_conversation . addExchange ( new SimpleExchange ( arg0 , arg1 ) ) ; } |
6,451 | format readable feedback concode_field_sep String feedback concode_elem_sep int correct concode_elem_sep int TESTS concode_field_sep void runSpecialTest concode_elem_sep String appendFeedback concode_elem_sep List<Integer> readCorrect concode_elem_sep void main concode_elem_sep void run concode_elem_sep String printLis... | String function ( double arg0 , String arg1 ) { return "srini_string" + arg0 + "srini_string" + arg1 ; } |
6,452 | set the list of response headers other than simple headers i.e. cache-control , content-language , content-type , expires , last-modified , or pragma that an actual response might have and can be exposed . note that '' '' is not a valid exposed header value.by default this is not set . concode_field_sep List<String> al... | void function ( List < String > arg0 ) { if ( arg0 != null && arg0 . contains ( ALL ) ) { throw new IllegalArgumentException ( "srini_string" ) ; } this . exposedHeaders = ( arg0 == null ? null : new ArrayList < String > ( arg0 ) ) ; } |
6,453 | gets the first selected date . concode_field_sep Date date2 concode_elem_sep Effect valueChangeEffect2 concode_elem_sep Date date1 concode_elem_sep Effect valueChangeEffect concode_field_sep void effectChangeListener concode_elem_sep Date getDate2 concode_elem_sep void effect2ChangeListener concode_elem_sep TimeZone ge... | Date function ( ) { return date1 ; } |
6,454 | gets the value of the targetedoperatingsystemversions property . this accessor method returns a reference to the live list , not a snapshot . therefore any modification you make to the returned list will be present inside the jaxb object . this is why there is not a set method for the targetedoperatingsystemversions pr... | List < Technology > function ( ) { if ( targetedOperatingSystemVersions == null ) { targetedOperatingSystemVersions = new ArrayList < Technology > ( ) ; } return this . targetedOperatingSystemVersions ; } |
6,455 | get the localized abbreviated name of the given month concode_field_sep int currentyear concode_elem_sep Calendar _today concode_elem_sep String[] _shortdownames concode_elem_sep String _blogURL concode_elem_sep int currentday concode_elem_sep int currentmonth concode_elem_sep String _requestedDateKey concode_elem_sep ... | String function ( int arg0 ) { return getShortMonthNames ( ) [ arg0 ] ; } |
6,456 | indicates whether or not ambari metrics is setup for ssl . concode_field_sep String truststorePassword concode_elem_sep ComponentSSLConfiguration singleton concode_elem_sep String truststoreType concode_elem_sep boolean httpsEnabled concode_elem_sep String truststorePath concode_field_sep void init concode_elem_sep Str... | boolean function ( ) { return httpsEnabled ; } |
6,457 | sets the start offset time seconds . if null or not specified no start offset will be applied . concode_field_sep Float duration concode_elem_sep String format concode_elem_sep AudioAttributes audioAttributes concode_elem_sep VideoAttributes videoAttributes concode_elem_sep long serialVersionUID concode_elem_sep Boolea... | void function ( Float arg0 ) { this . offset = arg0 ; } |
6,458 | determine if a file or directory exists . concode_field_sep String LOG_TAG concode_field_sep boolean testSaveLocationExists concode_elem_sep File constructFilePaths concode_elem_sep long getFreeExternalStorageSpace concode_elem_sep long getFreeSpaceInBytes | boolean function ( String arg0 ) { boolean loc0 ; if ( ( testSaveLocationExists ( ) ) && ( ! arg0 . equals ( "srini_string" ) ) ) { File loc1 = Environment . getExternalStorageDirectory ( ) ; File loc2 = constructFilePaths ( loc1 . toString ( ) , arg0 ) ; loc0 = loc2 . exists ( ) ; } else { loc0 = false ; } return loc0... |
6,459 | the port that the supercollider synth engine usually listens to . concode_field_sep int DEFAULT_SC_OSC_PORT concode_elem_sep int port concode_elem_sep int DEFAULT_SC_LANG_OSC_PORT concode_elem_sep DatagramSocket socket concode_field_sep int getPort concode_elem_sep DatagramSocket getSocket concode_elem_sep void finaliz... | int function ( ) { return DEFAULT_SC_OSC_PORT ; } |
6,460 | reads a given number of registers from the slave . note that the number of registers returned i.e. array length will be according to the number received in the slave response . concode_field_sep WriteSingleRegisterRequest m_WriteSingleRegisterRequest concode_elem_sep ReadInputDiscretesRequest m_ReadInputDiscretesReques... | Register [ ] function ( int arg0 , int arg1 ) { m_ReadMultipleRegistersRequest . setReference ( arg0 ) ; m_ReadMultipleRegistersRequest . setWordCount ( arg1 ) ; m_Transaction . setRequest ( m_ReadMultipleRegistersRequest ) ; m_Transaction . execute ( ) ; return ( ( ReadMultipleRegistersResponse ) m_Transaction . getRe... |
6,461 | sets the link to the next page . concode_field_sep String nextPageLink concode_elem_sep List<T> items concode_field_sep String nextPageLink concode_elem_sep PageImpl<T> setItems concode_elem_sep List<T> items | PageImpl < T > function ( String arg0 ) { this . nextPageLink = arg0 ; return this ; } |
6,462 | clears all items from the registry . concode_field_sep ClassAliasRegistry registry concode_elem_sep Map aliasRegistry concode_field_sep void registerAlias concode_elem_sep ClassAliasRegistry getRegistry concode_elem_sep void unregisterAlias concode_elem_sep String getClassName | void function ( ) { synchronized ( aliasRegistry ) { aliasRegistry . clear ( ) ; } } |
6,463 | append a long value . concode_field_sep char mode concode_elem_sep boolean comma concode_elem_sep int top concode_elem_sep int maxdepth concode_elem_sep Writer writer concode_elem_sep char stack[] concode_field_sep void pop concode_elem_sep JSONWriter array concode_elem_sep JSONWriter end concode_elem_sep JSONWriter en... | JSONWriter function ( long arg0 ) { return this . append ( Long . toString ( arg0 ) ) ; } |
6,464 | this must stay synchronized concode_field_sep ByteBuffer payload concode_elem_sep ByteBuffer[] _array concode_elem_sep boolean useFixedSizeBlocks concode_elem_sep AtomicInteger SEQ concode_elem_sep ByteBuffer header concode_elem_sep FDTSelectionKey fdtSelectionKey concode_elem_sep DirectByteBufferPool payloadPool conco... | void function ( ByteBuffer arg0 , ByteBuffer arg1 ) { this . header = arg0 ; this . payload = arg1 ; setArray ( ) ; } |
6,465 | sets the destination file concode_field_sep File destfile concode_elem_sep File destdir concode_elem_sep URL url concode_field_sep File resolve concode_elem_sep File getDest concode_elem_sep void setDestdir concode_elem_sep String toString concode_elem_sep void setUrl concode_elem_sep void validate | void function ( final File arg0 ) { this . destfile = arg0 ; } |
6,466 | returns whether this opcode uses a result register . concode_field_sep InsnFormat format concode_elem_sep String name concode_elem_sep boolean hasResult concode_elem_sep int opcode concode_elem_sep int family concode_field_sep String getName concode_elem_sep int getFamily concode_elem_sep String toString concode_elem_s... | boolean function ( ) { return hasResult ; } |
6,467 | name of the source security group . use this value for the -- source-group parameter of the ec2-authorize command in the amazon ec2 command line tool . concode_field_sep String ownerAlias concode_elem_sep String groupName concode_field_sep void setGroupName concode_elem_sep SourceSecurityGroup withGroupName concode_ele... | String function ( ) { return groupName ; } |
6,468 | convenience method returns this class so multiple calls can be chained . concode_field_sep Map<String,String> map concode_field_sep Set<java.util.Map.Entry<String,String>> entrySet concode_elem_sep boolean containsKey concode_elem_sep Collection<String> values concode_elem_sep void clear concode_elem_sep boolean isEmpt... | ParameterMap function ( String arg0 , String arg1 ) { map . put ( arg0 , arg1 ) ; return this ; } |
6,469 | alias to booleanproperty string name , boolean defaultvalue concode_field_sep Logger logger concode_field_sep int intProperty concode_elem_sep boolean booleanProperty concode_elem_sep boolean booleanProperty concode_elem_sep double sysPropertyDouble concode_elem_sep double doubleProperty concode_elem_sep void setProper... | boolean function ( String arg0 , boolean arg1 ) { return booleanProperty ( arg0 , arg1 ) ; } |
6,470 | create an instance of jaxbelement concode_field_sep QName _WeatherReturn_QNAME concode_elem_sep QName _ArrayOfWeatherDescription_QNAME concode_elem_sep QName _ForecastReturn_QNAME concode_field_sep WeatherDescription createWeatherDescription concode_elem_sep GetCityWeatherByZIPResponse createGetCityWeatherByZIPResponse... | JAXBElement < ArrayOfWeatherDescription > function ( ArrayOfWeatherDescription arg0 ) { return new JAXBElement < ArrayOfWeatherDescription > ( _ArrayOfWeatherDescription_QNAME , ArrayOfWeatherDescription . class , null , arg0 ) ; } |
6,471 | tests if the interior of the shape entirely contains the specified rectangle2d . concode_field_sep GeneralPath gp concode_field_sep void set concode_elem_sep PathIterator getPathIterator concode_elem_sep PathIterator getPathIterator concode_elem_sep boolean intersects concode_elem_sep boolean intersects concode_elem_se... | boolean function ( Rectangle2D arg0 ) { return gp . contains ( arg0 ) ; } |
6,472 | this method is used to call a method of dao class to create ticket escalation level concode_field_sep PlaceHolder placeHolder concode_field_sep List getEscalationTypes concode_elem_sep List searchEscalationLevel concode_elem_sep boolean editEscalationLevel concode_elem_sep List getEscalationTemplates concode_elem_sep L... | boolean function ( EscalationLevelVO arg0 ) { boolean loc0 = false ; EscalationLevelDAO loc1 = new EscalationLevelDAO ( ) ; loc0 = loc1 . createEscalationLevel ( arg0 ) ; return loc0 ; } |
6,473 | wrap the supplied statement with a profilevaluechecker statement . concode_field_sep Log logger concode_field_sep Statement withBeforeTestMethodCallbacks concode_elem_sep Statement withTestInstancePreparation concode_elem_sep Field findSpringClassRuleField concode_elem_sep Statement withPotentialTimeout concode_elem_se... | Statement function ( Statement arg0 , FrameworkMethod arg1 , Object arg2 ) { return new ProfileValueChecker ( arg0 , arg2 . getClass ( ) , arg1 . getMethod ( ) ) ; } |
6,474 | bucketspan expressed in seconds concode_field_sep String TIMESTAMP concode_elem_sep String ANOMALY_SCORE concode_elem_sep List<BucketInfluencer> m_BucketInfluencers concode_elem_sep String IS_INTERIM concode_elem_sep String INFLUENCERS concode_elem_sep String EVENT_COUNT concode_elem_sep List<Influencer> m_Influencers ... | long function ( ) { return m_BucketSpan ; } |
6,475 | convert the given object to string with each line indented by 4 spaces except the first line . concode_field_sep Integer code concode_elem_sep String type concode_elem_sep String message concode_field_sep ModelApiResponse code concode_elem_sep String getType concode_elem_sep int hashCode concode_elem_sep void setCode c... | String function ( java . lang . Object arg0 ) { if ( arg0 == null ) { return "srini_string" ; } return arg0 . toString ( ) . replace ( "srini_string" , "srini_string" ) ; } |
6,476 | maximum on y axis . concode_field_sep double[] data concode_elem_sep int color concode_elem_sep String labelx concode_elem_sep String labely concode_elem_sep ArrayList<Curve> curves concode_elem_sep double THRESHOLD concode_elem_sep int len concode_elem_sep int pos concode_elem_sep double maxx concode_elem_sep double m... | double function ( ) { return maxy ; } |
6,477 | returns a view of this bundle as a map . changes to one are reflected in the other . concode_field_sep PlaceHolder placeHolder concode_field_sep ValueObject getValue concode_elem_sep ValueObject getValue concode_elem_sep Iterator<BundleField> iterator concode_elem_sep ValueMap asValueMap concode_elem_sep void removeVal... | Map < BundleField , ValueObject > function ( ) { return new BundleMapView < > ( this ) ; } |
6,478 | checks to see if a stage has been passed , and displays a message if so . artificially times the message duration through an integer in ship class concode_field_sep BufferedImage[] gunSetIcons concode_elem_sep BufferedImage[] redBulletExplosion concode_elem_sep Queue<BufferedImage> dblBuffer concode_elem_sep ReentrantR... | void function ( Graphics2D arg0 ) { if ( Main . update . ship . getnStage ( ) > 0 ) { arg0 . setColor ( Color . WHITE ) ; arg0 . setFont ( new Font ( "srini_string" , Font . BOLD , 34 ) ) ; arg0 . drawString ( "srini_string" , 245 , 100 ) ; Main . update . ship . setnStage ( Main . update . ship . getnStage ( ) - 1 ) ;... |
6,479 | add the model change listener concode_field_sep boolean fRefreshPending concode_elem_sep ArrayList<IModelChangeListener> fListeners concode_field_sep void setRefreshPending concode_elem_sep void removeAllListeners concode_elem_sep void notifyListeners concode_elem_sep void notifyStructureChangeListeners concode_elem_se... | void function ( IModelChangeListener arg0 ) { if ( ! fListeners . contains ( arg0 ) ) { fListeners . add ( arg0 ) ; } } |
6,480 | this method writes len bytes from the specified array b starting at index off into the array . this method in this class calls the single byte write method in a loop until all bytes have been written . subclasses should override this method if possible in order to provide a more efficent implementation . concode_field_... | void function ( byte [ ] arg0 , int arg1 , int arg2 ) { if ( arg1 < 0 || arg2 < 0 || arg1 + arg2 > arg0 . length ) throw new ArrayIndexOutOfBoundsException ( ) ; for ( int loc0 = 0 ; loc0 < arg2 ; ++ loc0 ) write ( arg0 [ arg1 + loc0 ] ) ; } |
6,481 | fire the changes that must happen then the token matches this node . concode_field_sep int visits concode_elem_sep node previous concode_elem_sep char binary concode_elem_sep char unary concode_elem_sep boolean _closed concode_elem_sep long serialVersionUID concode_elem_sep Object token concode_field_sep boolean mustCl... | void function ( ) { visits ++ ; if ( mustClose ( ) ) close ( ) ; } |
6,482 | get the output label 's id concode_field_sep int iLabel concode_elem_sep int oLabel concode_elem_sep float weight concode_elem_sep State nextState concode_field_sep int getIlabel concode_elem_sep void setOlabel concode_elem_sep void setIlabel concode_elem_sep float getWeight concode_elem_sep int hashCode concode_elem_s... | int function ( ) { return oLabel ; } |
6,483 | returns the data service configuration . concode_field_sep List<Service> dataServiceConfiguration concode_elem_sep AgentConfiguration agentConfiguration concode_elem_sep EvoKnowledgeConfiguration evoConfiguration concode_elem_sep WorldConfiguration worldConfiguration concode_elem_sep List<Service> plannerServiceConfigu... | List < Service > function ( ) { return dataServiceConfiguration ; } |
6,484 | obtiene el valor de la propiedad secuencial . concode_field_sep String claveAcceso concode_elem_sep String ruc concode_elem_sep String razonSocial concode_elem_sep String estab concode_elem_sep String ptoEmi concode_elem_sep String ambiente concode_elem_sep String nombreComercial concode_elem_sep String codDoc concode_... | String function ( ) { return secuencial ; } |
6,485 | samples the sequence repeatedly , making numsamples passes over the entire sequence . concode_field_sep int verbose concode_elem_sep int sampleInterval concode_elem_sep int numSamples concode_elem_sep List document concode_elem_sep SequenceListener listener concode_elem_sep Random random concode_elem_sep boolean return... | void function ( SequenceModel arg0 , int [ ] arg1 , int arg2 ) { arg1 = copy ( arg1 ) ; listener . setInitialSequence ( arg1 ) ; for ( int loc0 = 0 ; loc0 < arg2 ; loc0 ++ ) { sampleSequenceForward ( arg0 , arg1 ) ; } } |
6,486 | immediately force a commit or rollback of the current test-managed transaction , according to the @linkplain #isflaggedforrollback rollback flag . concode_field_sep PlaceHolder placeHolder concode_field_sep void flagForRollback concode_elem_sep void start concode_elem_sep void flagForCommit concode_elem_sep Transaction... | void function ( ) { requireCurrentTransactionContext ( ) . endTransaction ( ) ; } |
6,487 | open a database connection . concode_field_sep PlaceHolder placeHolder concode_field_sep int getIntFromDB concode_elem_sep String testConnection concode_elem_sep void closeDBConnection concode_elem_sep Connection openDBConnectionSQL concode_elem_sep void executeUpdate concode_elem_sep void executeUpdate | Connection function ( String arg0 , String arg1 , String arg2 , String arg3 , int arg4 ) { String loc0 = "srini_string" ; Class . forName ( loc0 ) ; String loc1 = "srini_string" + arg3 + "srini_string" + arg2 ; String loc2 = arg0 ; String loc3 = arg1 ; return DriverManager . getConnection ( loc1 , loc2 , loc3 ) ; } |
6,488 | return true if object is between lower and upper concode_field_sep String[] args concode_elem_sep List<Runnable> initThreadHooks 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 ... | boolean function ( ClarionObject arg0 , ClarionObject arg1 , ClarionObject arg2 ) { return ( arg0 . compareTo ( arg1 ) >= 0 && arg0 . compareTo ( arg2 ) <= 0 ) ; } |
6,489 | returns the transport appropriate for this connection . concode_field_sep int httpMinorVersion concode_elem_sep byte[] HTTP_11 concode_elem_sep Route route concode_elem_sep long idleStartTimeNs concode_elem_sep InputStream in concode_elem_sep SpdyConnection spdyConnection concode_elem_sep Socket socket concode_elem_sep... | Object function ( HttpEngine arg0 ) { return ( spdyConnection != null ) ? new SpdyTransport ( arg0 , spdyConnection ) : new HttpTransport ( arg0 , out , in ) ; } |
6,490 | send a cancel request . concode_field_sep String failAction concode_elem_sep String unsolicitedCompleteAction concode_elem_sep String cannotCompleteAction concode_elem_sep String exitAction concode_elem_sep String messageLossAndRecoveryAction concode_elem_sep String participantCancelCompletedRaceAction concode_elem_sep... | void function ( final CoordinationContextType arg0 , final MAP arg1 ) { arg1 . setReplyTo ( initiator ) ; ParticipantPortType loc0 = BAInteropClient . getParticipantPort ( arg1 , cancelAction ) ; CoordinationContextManager . setThreadContext ( arg0 ) ; try { loc0 . cancel ( ) ; } finally { CoordinationContextManager . ... |
6,491 | return a map containing the state and error description if any for this status . this map may be serialized into zookeeper to write out the module deployment status . concode_field_sep String container concode_elem_sep int moduleSequence concode_elem_sep String errorDescription concode_elem_sep State state concode_elem... | Map < String , String > function ( ) { Map < String , String > loc0 = new HashMap < String , String > ( ) ; loc0 . put ( STATUS_KEY , state . toString ( ) ) ; if ( StringUtils . hasText ( errorDescription ) ) { loc0 . put ( ERROR_DESCRIPTION_KEY , errorDescription ) ; } return Collections . unmodifiableMap ( loc0 ) ; } |
6,492 | calculates the variance of the y values . concode_field_sep boolean noIntercept concode_elem_sep RealMatrix xMatrix concode_elem_sep RealVector yVector concode_field_sep boolean isNoIntercept concode_elem_sep double calculateErrorVariance concode_elem_sep void setNoIntercept concode_elem_sep double estimateErrorVarianc... | double function ( ) { return new Variance ( ) . evaluate ( yVector . toArray ( ) ) ; } |
6,493 | gets the required boolean value from the current context , if possible/available concode_field_sep int FULL_ALPHA concode_elem_sep int SELECTED_ALPHA concode_elem_sep int PULSE_ANIMATOR_DURATION concode_elem_sep int SELECTED_ALPHA_THEME_DARK concode_field_sep boolean isJellybeanOrLater concode_elem_sep boolean isDarkTh... | boolean function ( Context arg0 , @ AttrRes int arg1 , boolean arg2 ) { TypedArray loc0 = arg0 . getTheme ( ) . obtainStyledAttributes ( new int [ ] { arg1 } ) ; try { return loc0 . getBoolean ( 0 , arg2 ) ; } finally { loc0 . recycle ( ) ; } } |
6,494 | check whether a url is a bookmark . concode_field_sep List<URLRecord> bookmarks concode_elem_sep File configFile concode_elem_sep Stack<URLRecord> history concode_elem_sep URL home concode_field_sep void saveURL concode_elem_sep URLRecord[] getHistory concode_elem_sep void saveBookmark concode_elem_sep URL getHome conc... | boolean function ( URL arg0 ) { for ( URLRecord loc0 : bookmarks ) { if ( loc0 . getURL ( ) . equals ( arg0 ) ) return true ; } return false ; } |
6,495 | tell whether this corner has a rounded inner corner . if a corner has a rounded inner corner , it has an outer corner as well . concode_field_sep float mPreBorderWidth concode_elem_sep float mPostBorderWidth concode_elem_sep float SWEEP_ANGLE concode_elem_sep RectF mBorderBox concode_elem_sep float mCornerRadius concod... | boolean function ( ) { return hasOuterCorner ( ) && ( getPreBorderWidth ( ) >= 0 ) && ( getPostBorderWidth ( ) >= 0 ) && ( getOuterCornerRadius ( ) > getPreBorderWidth ( ) ) && ( getOuterCornerRadius ( ) > getPostBorderWidth ( ) ) ; } |
6,496 | returns string repsentation of this object . concode_field_sep byte[] data concode_field_sep Serializable getObject concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep int getBytesLength concode_elem_sep byte[] getBytes | String function ( ) { return super . toString ( ) ; } |
6,497 | gets the value of the merchantid property . concode_field_sep String merchantId concode_elem_sep String posBatchId concode_elem_sep String posTransactionId concode_elem_sep long serialVersionUID concode_elem_sep String terminalId concode_elem_sep String storeId concode_field_sep String getTerminalId concode_elem_sep vo... | String function ( ) { return merchantId ; } |
6,498 | return the uri namespace name of this schema . concode_field_sep String theURI concode_elem_sep HashMap theEntities concode_elem_sep int F_CDATA concode_elem_sep ElementType theRoot concode_elem_sep String thePrefix concode_elem_sep int F_RESTART concode_elem_sep int M_EMPTY concode_elem_sep int M_ANY concode_elem_sep ... | String function ( ) { return theURI ; } |
6,499 | returns the initialized cache engine concode_field_sep String KEY_METADATA_URL concode_elem_sep String WMS_SERVICE_DEFAULT_VALUES_FILE concode_elem_sep String KEY_RASDAMAN_DATABASE concode_elem_sep String pathToLoggingFile concode_elem_sep RasdamanService rasdamanService concode_elem_sep RequestCacheEngine cacheEngine ... | RequestCacheEngine function ( ) { return cacheEngine ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.