在读未提交的隔离级别,使用update set更新字段时配合if语句的问题 update user_amount set frozen = frozen - if(5000 > frozen, frozen, 5000) , balance = balance + if( 5000 > frozen ...
分类:
其他好文 时间:
2020-05-22 10:04:49
阅读次数:
77
NXP eIQ 工具链梳理 1. 模型训练 mobilenet+ssd .pb yolo .weight 转 .onnx 2. graph transform / 量化 transform_graph 工具删除 模型中 pre/post processing 部分 graph split 将图分为定 ...
分类:
其他好文 时间:
2020-05-22 09:32:00
阅读次数:
109
一、Unity使用的资源 1、外部资源: 不是Unity创建,而是外部工具做的模型以及贴图或通用的格式资源。例如图片资源、模型资源、动画资源、视频和声音资源。 2、内部资源: Unity创建的,并且只有放在Unity才能识别。例如脚本、Shader、场景、预设、材质、精灵、动画控制器、时间线、物理材 ...
分类:
编程语言 时间:
2020-05-21 16:02:52
阅读次数:
380
using UnityEngine; using UnityEngine.EventSystems; public class DragThresholdUtil : MonoBehaviour { // Start is called before the first frame update v ...
分类:
其他好文 时间:
2020-05-21 11:58:48
阅读次数:
62
一、现象 1、前台页面不能显示,报出连接数据库超时的错误,查看SQLServer数据库当前访问,发现有一个update的session非常耗时,和开发交流说每次访问页面的时候,会先更新一张表的数据,然后才能正常显示页面,查看这张表只有970条数据,没有主键和索引,查看数据库访问情况,没有其他sess ...
分类:
数据库 时间:
2020-05-21 11:41:58
阅读次数:
58
参数绑定之列表的jsp页面 <form action="${pageContext.request.contextPath }/update.action" method="post">商品列表:<table width="100%" border=1><tr> <td><input type="c ...
分类:
其他好文 时间:
2020-05-21 10:20:47
阅读次数:
53
简介 协同程序 coroutine 简称协程, Unity的Update函数每帧调用一次,若想实现跨帧执行程序,这时需要使用协程 使用 声明返回值类型为IEnumerator的方法 1 IEnumerator MyFunction() 2 { 3 //Code1 4 yeild return nul ...
分类:
编程语言 时间:
2020-05-21 00:24:02
阅读次数:
50
// 被观察者 class Subject{ // 定义一个对象 constructor(){ // 构造器 可以实例一个对象 this.subs = [] // 存储观察者 } addsub(sub){ // 添加观察者 this.subs.push(sub) } notify(food){ // ...
分类:
其他好文 时间:
2020-05-20 20:24:33
阅读次数:
56
背景:运行代码提示找不到ADB An unknown server-side error occurred while processing the command. Original error: Could not find 'adb.exe' in PATH. Please set the A ...
分类:
移动开发 时间:
2020-05-20 12:43:19
阅读次数:
157
背景 运行时代码报错: selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error ...
分类:
移动开发 时间:
2020-05-20 12:36:57
阅读次数:
127