language
stringclasses
2 values
func_code_string
stringlengths
63
466k
python
def by_type(self, identifier_class): """ returns all unique instances of a type of identifier :param identifier_class: the class to match identifier with :returns: a tuple """ myidentifiers = set() for identifier in self.source_identifiers.values(): i...
python
def data(self): """Parameters passed to the API containing the details to create a new alert. :return: parameters to create new alert. :rtype: dict """ data = {} data["name"] = self.name data["query"] = self.queryd data["languages"] = self.langua...
python
def logv(msg, *args, **kwargs): """ Print out a log message, only if verbose mode. """ if settings.VERBOSE: log(msg, *args, **kwargs)
java
public void marshall(UpdateRdsDbInstanceRequest updateRdsDbInstanceRequest, ProtocolMarshaller protocolMarshaller) { if (updateRdsDbInstanceRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(u...
python
def get_items_shuffled_metadata(self): """Gets the metadata for shuffling items. return: (osid.Metadata) - metadata for the shuffled flag *compliance: mandatory -- This method must be implemented.* """ # Implemented from template for osid.resource.ResourceForm.get_group_metadat...
java
public static <T> List<T> transformThriftResult(List<ColumnOrSuperColumn> coscList, ColumnFamilyType columnFamilyType, ThriftRow row) { List result = new ArrayList(coscList.size()); for (ColumnOrSuperColumn cosc : coscList) { result.add(transformThriftResult(cosc, col...
java
private void decreaseCache(I_CmsLruCacheObject theCacheObject) { // notify the object that it was now removed from the cache //theCacheObject.notify(); theCacheObject.removeFromLruCache(); // set the list pointers to null theCacheObject.setNextLruObject(null); theCacheO...
python
def observe_root_state_assignments(self, model, prop_name, info): """ The method relieves observed root_state models and observes newly assigned root_state models. """ if info['old']: self.relieve_model(info['old']) if info['new']: self.observe_model(info['new']) ...
java
public static boolean executeModifyOperation(final String currentDn, final ConnectionFactory connectionFactory, final LdapEntry entry) { final Map<String, Set<String>> attributes = entry.getAttributes().stream() .collect(Collectors.toMap(LdapAttribute::getName, ldapAttribute -> new HashSet<>(ldapAtt...
python
def read(database, table, key): """Does a single read operation.""" with database.snapshot() as snapshot: result = snapshot.execute_sql('SELECT u.* FROM %s u WHERE u.id="%s"' % (table, key)) for row in result: key = row[0] for i in range(...
python
def user_parse(data): """Parse information from the provider.""" _user = data.get('oauth', {}).get('user', {}) yield 'id', _user.get('id') yield 'username', _user.get('username') first_name, _, last_name = _user.get('display_name').partition(' ') yield 'first_name', first...
python
def do_execute(self): """ The actual execution of the actor. :return: None if successful, otherwise error message :rtype: str """ data = self.input.payload if self.storagehandler is None: return "No storage handler available!" sname = str(self...
java
public static int getNumCores() { //Private Class to display only CPU devices in the directory listing class CpuFilter implements FileFilter { @Override public boolean accept(File pathname) { //Check if filename is "cpu", followed by a single digit number if(Pattern.matches("cpu[0-9]", pathname...
python
def _upcoming_datetime_from(self): """ The datetime this event next starts in the local time zone, or None if it is finished. """ nextDt = self.__localAfter(timezone.localtime(), dt.time.max, excludeCancellations=True, ...
python
def load_from_docinfo(self, docinfo, delete_missing=False, raise_failure=False): """Populate the XMP metadata object with DocumentInfo Arguments: docinfo: a DocumentInfo, e.g pdf.docinfo delete_missing: if the entry is not DocumentInfo, delete the equivalent from...
python
def add_grid_data(self, data): """ Return id """ self.grid_data.append(data) return len(self.grid_data) - 1
java
@SuppressWarnings("squid:S1452") public static <T, K, U> Collector<T, ?, Map<K, U>> toLinkedMap( Function<? super T, ? extends K> keyMapper, Function<? super T, ? extends U> valueMapper) { return Collectors.toMap(keyMapper, valueMapper, throwingMerger(), LinkedHashMap::new); }
java
public Class defineClass(ClassNode classNode, String file, String newCodeBase) { CodeSource codeSource = null; try { codeSource = new CodeSource(new URL("file", "", newCodeBase), (java.security.cert.Certificate[]) null); } catch (MalformedURLException e) { //swallow ...
python
def getObjective(self, name): """ Get the objective with the corresponding name. Args: name: Name of the objective to be found. Raises: TypeError: if the specified objective does not exist. """ return lock_and_call( lambda: Objectiv...
java
public void parseSignaturesString(String signatures) throws IOException,ParseException { logger.info("Reading inline API signatures..."); final Set<String> missingClasses = new TreeSet<String>(); parseSignaturesFile(new StringReader(signatures), false, missingClasses); reportMissingSignatureClasses(miss...
python
def chooser_menu(): """ Master jump off point to ancillary functionality """ title = TITLE + "The" + Colors.ORANGE + " Metal" + Colors.RESET + TITLE + " Menu" + RESET menu = """ ________________________________________________________________ """ + title + """ __________________...
java
@Override public void flushBufferStopAtMark() throws IOException { final int end = pos; pos = mark; flushBuffer(true); out.flush(); startPacket(0); System.arraycopy(buf, mark, buf, pos, end - mark); pos += end - mark; mark = -1; bufferContainDataAfterMark = true; }
python
def nonraw_instance(receiver): """ A signal receiver decorator that fetch the complete instance from db when it's passed as raw """ @wraps(receiver) def wrapper(sender, instance, raw, using, **kwargs): if raw: instance = sender._default_manager.using(using).get(pk=instance.pk...
python
def _string_width(string, *, _IS_ASCII=_IS_ASCII): """Returns string's width.""" match = _IS_ASCII.match(string) if match: return match.endpos UNICODE_WIDE_CHAR_TYPE = 'WFA' width = 0 func = unicodedata.east_asian_width for char in string: width += 2 if func(char) in UNICODE...
python
def stop(self): """Stop the communication with the shield.""" with self.lock: self._message_received(ConnectionClosed(self._file, self))
java
public final Command createIncrDecrCommand(final String key, final byte[] keyBytes, final long amount, long initial, int exptime, CommandType cmdType, boolean noreply) { return new TextIncrDecrCommand(key, keyBytes, cmdType, new CountDownLatch(1), amount, initial, noreply); }
python
def assignmentCommand(FrequencyList_presence=0, CellChannelDescription_presence=0, CellChannelDescription_presence1=0, MultislotAllocation_presence=0, ChannelMode_presence=0, ChannelMode_presence1=0, ChannelMod...
java
private static Locale getLocaleForRequest(HttpServletRequest req) { CmsAcceptLanguageHeaderParser parser = new CmsAcceptLanguageHeaderParser( req, OpenCms.getWorkplaceManager().getDefaultLocale()); List<Locale> acceptedLocales = parser.getAcceptedLocales(); List<Locale> ...
python
def clean_directories(builddir, in_dir=True, out_dir=True): """Remove the in and out of the container if confirmed by the user.""" container_in = local.path(builddir) / "container-in" container_out = local.path(builddir) / "container-out" if in_dir and container_in.exists(): if ui.ask("Should I...
java
public static long parseLong (@Nullable final Object aObject, @Nonnegative final int nRadix, final long nDefault) { if (aObject == null) return nDefault; if (aObject instanceof Number) return ((Number) aObject).longValue (); return parseLong (aObject.toString (), nRadix, nDefault); }
java
public static void loadFrom(Reader reader, Proto target) throws Exception { loadFrom(new ANTLRReaderStream(reader), target); }
java
public static CommerceCountry findByG_N(long groupId, int numericISOCode) throws com.liferay.commerce.exception.NoSuchCountryException { return getPersistence().findByG_N(groupId, numericISOCode); }
python
def itervalues(obj): "Get value iterator from dictionary for Python 2 and 3" return iter(obj.values()) if sys.version_info.major == 3 else obj.itervalues()
java
public void addInvolvedExecution(ExecutionEntity executionEntity) { if (executionEntity.getId() != null) { involvedExecutions.put(executionEntity.getId(), executionEntity); } }
python
def get_starting_chunk(filename, length=1024): """ :param filename: File to open and get the first little chunk of. :param length: Number of bytes to read, default 1024. :returns: Starting chunk of bytes. """ # Ensure we open the file in binary mode try: with open(filename, 'rb') as ...
java
@Override public String getMassPrintURL(String CorpNum, MgtKeyType KeyType, String[] MgtKeyList, String UserID) throws PopbillException { if (KeyType == null) throw new PopbillException(-99999999, "관리번호형태가 입력되지 않았습니다."); if (MgtKeyList == null || MgtKeyL...
python
def get_file(self, file_id): """ Use this method to get basic info about a file and prepare it for downloading. For the moment, bots can download files of up to 20MB in size. On success, a File object is returned. The file can then be downloaded via the link https://api.telegram.org/file/bot<token>/<fil...
python
def load_config(self, conf): """ Load configurations from an rc file Parameters ---------- rc: str path to the rc file Returns ------- None """ section = self.__class__.__name__ if section not in conf.sections(): ...
java
public Content getNavLinkNext() { Content li; if (nextProfile == null) { li = HtmlTree.LI(nextprofileLabel); } else { li = HtmlTree.LI(getHyperLink(pathToRoot.resolve(DocPaths.profileSummary( nextProfile.name)), nextprofileLabel, "", "")); } ...
python
def _opening_bracket_index(self, text, bpair=('(', ')')): """Return the index of the opening bracket that matches the closing bracket at the end of the text.""" level = 1 for i, char in enumerate(reversed(text[:-1])): if char == bpair[1]: level += 1 elif c...
python
def parse_bytes_str(value): """ Given a value return the integer number of bytes it represents. Trailing "MB" causes the value multiplied by 1024*1024 :param value: :return: int number of bytes represented by value. """ if type(value) == str: if "MB" i...
java
@Override public ReadJobResult readJob(ReadJobRequest request) { request = beforeClientExecution(request); return executeReadJob(request); }
java
public BackupChainLog[] getBackupsLogs() { File[] cfs = PrivilegedFileHelper.listFiles(logsDirectory, new BackupLogsFilter()); List<BackupChainLog> logs = new ArrayList<BackupChainLog>(); for (int i = 0; i < cfs.length; i++) { File cf = cfs[i]; try { if...
java
public void send(byte[] buf) { if (log.isTraceEnabled()) { log.trace("send binary: {}", Arrays.toString(buf)); } // send the incoming bytes send(Packet.build(buf)); }
java
private void addDelegateFields() { visitField(ACC_PRIVATE + ACC_FINAL, CLOSURES_MAP_FIELD, "Ljava/util/Map;", null, null); if (generateDelegateField) { visitField(ACC_PRIVATE + ACC_FINAL, DELEGATE_OBJECT_FIELD, BytecodeHelper.getTypeDescription(delegateClass), null, null); } }
java
public void setUnknownProperties(Map<String, Object> unknownProperties) { this.unknownProperties = Collections.unmodifiableMap( new HashMap<>(unknownProperties)); }
java
static Object decode(String s) { byte[] bytes = Base64.base64ToByteArray(s); ObjectInputStream objectInputStream; try { objectInputStream = new ObjectInputStream( new ByteArrayInputStream(bytes)); return objectInputStream.readObject(); } catch (IOException | ClassNotFoundException ...
python
def set_bottom_margin(self, bottom_margin): """ Set the bottom margin of the menu. This will determine the number of console lines appear between the bottom of the menu border and the menu input prompt. :param bottom_margin: an integer value """ self.__footer.style.margin...
java
public List<Affiliation> getAffiliations() throws NoResponseException, XMPPErrorException, NotConnectedException, InterruptedException { return getAffiliations(null, null); }
python
def remote_url(connector, env, repo, filename): """ return a str containing a link to the rpm in the pulp repository """ dl_base = connector.base_url.replace('/pulp/api/v2', '/pulp/repos') repoid = '%s-%s' % (repo, env) _r = connector.get('/repositories/%s/' % repoid) if not _r.status_code...
python
def fit(pointlist): ''' Parameters pointlist [[x0,y0], [x1,y1], [x2,y2], ...] Points [None, None] are allowed but ignored. ''' # Separate x and y and clear Nones is_num = lambda x: isinstance(x, Number) pick_x = lambda x: x[0] pick_y = lambda x: x[1] xs =...
python
def plot_to_svg(plot, width, height, unit=''): """Converts a plot (list of layers) into an SVG document. Args: plot (list): list of layers that make up the plot width (float): the width of the resulting image height (float): the height of the resulting image unit (str): the unit...
python
def _get_nets_radb(self, *args, **kwargs): """ Deprecated. This will be removed in a future release. """ from warnings import warn warn('ASNOrigin._get_nets_radb() has been deprecated and will be ' 'removed. You should now use ASNOrigin.get_nets_radb().') re...
java
protected InputStream getTemplateAsStream(TestContext context) { Resource resource; if (templateResource != null) { resource = templateResource; } else { resource = FileUtils.getFileResource(template, context); } String templateYml; try { ...
java
public CmsProject readProject(CmsDbContext dbc, String name) throws CmsException { CmsProject project = null; project = m_monitor.getCachedProject(name); if (project == null) { project = getProjectDriver(dbc).readProject(dbc, name); m_monitor.cacheProject(project); ...
python
def movie(args): """ %prog movie input.bed scaffolds.fasta chr1 Visualize history of scaffold OO. The history is contained within the tourfile, generated by path(). For each historical scaffold OO, the program plots a separate PDF file. The plots can be combined to show the progression as a lit...
python
def run(): """Run custom scalar demo and generate event files.""" step = tf.compat.v1.placeholder(tf.float32, shape=[]) with tf.name_scope('loss'): # Specify 2 different loss values, each tagged differently. summary_lib.scalar('foo', tf.pow(0.9, step)) summary_lib.scalar('bar', tf.pow(0.85, step + 2)...
python
def has_ssd(self): """Return true if any of the drive under ArrayControllers is ssd""" for member in self.get_members(): if member.physical_drives.has_ssd: return True return False
python
def list_streams(self, file_type, start=0, limit=100, filter_path=None, **kwargs): """以视频、音频、图片及文档四种类型的视图获取所创建应用程序下的 文件列表. :param file_type: 类型分为video、audio、image及doc四种。 :param start: 返回条目控制起始值,缺省值为0。 :param limit: 返回条目控制长度,缺省为1000,可配置。 :param filter...
java
@Inject public void preStart() { // We have to do this before start, since some components may start before the actual cache and they // have to have access to the default metadata on some operations defaultMetadata = new EmbeddedMetadata.Builder() .lifespan(config.expiration().lifespan...
python
def list_relations(self): ''' list every relation in the database as (src, relation, dst) ''' _ = self._execute('select * from relations').fetchall() for i in _: #print(i) src, name, dst = i src = self.deserialize( next(self._execute('select co...
python
def ctrl_c_handler(self, signum, frame): self.ctrl_c_pressed = True if self._cnf.dirty_playlist: """ Try to auto save playlist on exit Do not check result!!! """ self.saveCurrentPlaylist() """ Try to auto save config on exit Do not check result...
python
def _GetNumberOfSeconds(self, fat_date_time): """Retrieves the number of seconds from a FAT date time. Args: fat_date_time (int): FAT date time. Returns: int: number of seconds since January 1, 1980 00:00:00. Raises: ValueError: if the month, day of month, hours, minutes or seconds ...
java
void enableOverviewMode(boolean enabled) { boolean isOffline = !A_CmsUI.getCmsObject().getRequestContext().getCurrentProject().isOnlineProject(); m_publishButton.setVisible(!enabled); m_publishButton.setEnabled(isOffline); m_infoButton.setVisible(!enabled); m_tableFilter.setVisi...
java
public static Page parsePageFromSource(final SecurityContext securityContext, final String source, final String name) throws FrameworkException { return parsePageFromSource(securityContext, source, name, false); }
java
@EnsuresNonNull("compiledScript") private JavaScriptAggregator.ScriptAggregator getCompiledScript() { // JavaScript configuration should be checked when it's actually used because someone might still want Druid // nodes to be able to deserialize JavaScript-based objects even though JavaScript is disabled. ...
java
public static void copy(File from, Charset charset, Appendable to) throws IOException { asCharSource(from, charset).copyTo(to); }
java
public void bind(final ValidationObject validationObject, final ProxyField proxyField, final FieldReference fieldReference, final ValidationObject owner) { final RuleProxyField ruleProxyField = getRuleProxyField(proxyField); for (Rule rule: fieldReference.getListeners()) { RuleCo...
java
public void setSupplementalImps(java.util.Collection<String> supplementalImps) { if (supplementalImps == null) { this.supplementalImps = null; return; } this.supplementalImps = new java.util.ArrayList<String>(supplementalImps); }
java
public static void stringToFile(FileSystem fs, Path path, String string) throws IOException { OutputStream os = fs.create(path, true); PrintWriter pw = new PrintWriter(os); pw.append(string); pw.close(); }
python
def draw_edges(self): """ Renders edges to the figure. """ for i, (start, end) in enumerate(self.graph.edges()): start_theta = node_theta(self.nodes, start) end_theta = node_theta(self.nodes, end) verts = [ get_cartesian(self.plot_radiu...
java
private void addNamedNativeQueryMetadata(Class clazz) { ApplicationMetadata appMetadata = kunderaMetadata.getApplicationMetadata(); String name, query = null; if (clazz.isAnnotationPresent(NamedQuery.class)) { NamedQuery ann = (NamedQuery) clazz.getAnnotation(NamedQuery.c...
java
private void updateExportParams() { m_exportParams.setExportAccountData(m_includeAccount.getValue().booleanValue()); m_exportParams.setExportAsFiles(m_asFiles.getValue().booleanValue()); m_exportParams.setExportProjectData(m_includeProject.getValue().booleanValue()); m_exportParams.setE...
java
public T update(T entity) throws RowNotFoundException, OptimisticLockException { if (!hasPrimaryKey(entity)) { throw new RuntimeException(String.format("Tried to update entity of type %s without a primary key", entity .getClass().getSimpleName())); } UpdateCreat...
java
public static DcerpcHandle getHandle ( String url, CIFSContext tc, boolean unshared ) throws MalformedURLException, DcerpcException { if ( url.startsWith("ncacn_np:") ) { return new DcerpcPipeHandle(url, tc, unshared); } throw new DcerpcException("DCERPC transport not supported: " + ...
python
def _add_row(self, index): """ Add a new row to the DataFrame :param index: index of the new row :return: nothing """ self._index.append(index) for c, _ in enumerate(self._columns): self._data[c].append(None)
java
public static BigFloat acos(BigFloat x) { return x.isNaN() || (!isRangeAbs1(x)) ? NaN : x.context.valueOf(BigDecimalMath.acos(x.value, x.context.mathContext)); }
java
public static boolean isWord(String wordString) { return Optional.ofNullable(wordPattern) .orElseGet(() -> wordPattern = Pattern.compile(WordPattern)) .matcher(wordString).matches(); }
java
@Override public void initialize(JsMessagingEngine engine) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "initialize", engine); this._engine = engine; //Venu mock mock //This is needed for MELockOwner in PersistentMessage...
java
public ACallObjectExpStmIR consInstanceCallStm(STypeIR instanceType, String instanceName, String memberName, SExpIR... args) { AIdentifierVarExpIR instance = new AIdentifierVarExpIR(); instance.setName(instanceName); instance.setType(instanceType.clone()); instance.setIsLocal(true); ACallObjectExpStmIR c...
java
public static base_responses unset(nitro_service client, String sitename[], String args[]) throws Exception { base_responses result = null; if (sitename != null && sitename.length > 0) { gslbsite unsetresources[] = new gslbsite[sitename.length]; for (int i=0;i<sitename.length;i++){ unsetresources[i] = new...
python
def is_real_floating_dtype(dtype): """Return ``True`` if ``dtype`` is a real floating point type.""" dtype = np.dtype(dtype) return np.issubsctype(getattr(dtype, 'base', None), np.floating)
java
@SuppressWarnings("unchecked") public static <T> ThreadLocalProxy<T> createThreadLocalProxy(Class<T> type) { ThreadLocalProxy<?> proxy = null; if (UriInfo.class.isAssignableFrom(type)) { proxy = new ThreadLocalUriInfo(); } else if (HttpHeaders.class.isAssignableFrom(type)) { ...
java
protected final int getTypedAttribute(int nodeHandle, int attType) { int nodeID = makeNodeIdentity(nodeHandle); if (nodeID == DTM.NULL) return DTM.NULL; int type = _type2(nodeID); if (DTM.ELEMENT_NODE == type) { int expType; while (true) { nodeID++; expType = _exptype...
python
def resolve(self, graph): """ Resolve a scoped component, respecting the graph cache. """ cached = graph.get(self.scoped_key) if cached: return cached component = self.create(graph) graph.assign(self.scoped_key, component) return component
java
@Trivial private void performAction(Runnable action, boolean addToQueue) { ExecutorService exec = executorService.getService(); if (exec == null) { // If we can't find the executor service, we have to run it in place. action.run(); } else { // If we can f...
java
public List<JoinNode> extractSubTrees() { List<JoinNode> subTrees = new ArrayList<>(); // Extract the first sub-tree starting at the root subTrees.add(this); List<JoinNode> leafNodes = new ArrayList<>(); extractSubTree(leafNodes); // Continue with the leafs for (...
java
public static BufferedImage disparity(ImageGray disparity, BufferedImage dst, int minDisparity, int maxDisparity, int invalidColor) { if( dst == null ) dst = new BufferedImage(disparity.getWidth(),disparity.getHeight(),BufferedImage.TYPE_INT_RGB); if (disparity.getDataType().isInteger()) { return...
java
public String getTimexValueLB() { if (Timex3Interval_Type.featOkTst && ((Timex3Interval_Type)jcasType).casFeat_TimexValueLB == null) jcasType.jcas.throwFeatMissing("TimexValueLB", "de.unihd.dbs.uima.types.heideltime.Timex3Interval"); return jcasType.ll_cas.ll_getStringValue(addr, ((Timex3Interval_Type)jca...
python
def stop_codon_spliced_offsets(self): """ Offsets from start of spliced mRNA transcript of nucleotides in stop codon. """ offsets = [ self.spliced_offset(position) for position in self.stop_codon_positions ] return self._contigu...
java
public static dnsrecords_stats[] get(nitro_service service) throws Exception{ dnsrecords_stats obj = new dnsrecords_stats(); dnsrecords_stats[] response = (dnsrecords_stats[])obj.stat_resources(service); return response; }
java
public static void isAssignable(Class<?> superType, Class<?> subType, String errorMsgTemplate, Object... params) throws IllegalArgumentException { notNull(superType, "Type to check against must not be null"); if (subType == null || !superType.isAssignableFrom(subType)) { throw new IllegalArgumentException(Str...
python
def modSymbolsFromLabelInfo(labelDescriptor): """Returns a set of all modiciation symbols which were used in the labelDescriptor :param labelDescriptor: :class:`LabelDescriptor` describes the label setup of an experiment :returns: #TODO: docstring """ modSymbols = set() for labelSt...
java
public GetPresetResponse getPreset(String name) { GetPresetRequest request = new GetPresetRequest(); request.setName(name); return getPreset(request); }
python
def next_channel_from_routes( available_routes: List[RouteState], channelidentifiers_to_channels: ChannelMap, transfer_amount: PaymentAmount, ) -> Optional[NettingChannelState]: """ Returns the first channel that can be used to start the transfer. The routing service can race with local ...
python
def connect(self): """Initialize the database connection.""" self._client = self._create_client() self._db = getattr(self._client, self._db_name) self._generic_dao = GenericDAO(self._client, self._db_name)
java
@Override public R visitCompilationUnit(CompilationUnitTree node, P p) { R r = scan(node.getPackage(), p); r = scanAndReduce(node.getImports(), p, r); r = scanAndReduce(node.getTypeDecls(), p, r); return r; }
python
def dmtoind(dm, f_min, f_max, nchan0, inttime, it): """ Given FDMT state, return indices to slice partial FDMT solution and sump to a given DM """ # maxDT = dmtodt(dm) # need to write if it>0: correction = dF/2. else: correction = 0 shift = [] nchan = nchan0/2**(iterati...
java
public final static String getDisplayName(String ID) { return getDisplayName(ID, ULocale.getDefault(Category.DISPLAY)); }
java
@Override public void initialize(EntityExistValidator annotation, EntityManager entityManager, DAOMode mode, DAOValidatorEvaluationTime evaluationTime) { // Sauvegarde des parametres this.annotation = annotation; this.entityManager = entityManager; this.systemDAOMode = mode; this.systemEvaluationTi...