- 博客(6)
- 收藏
- 关注
原创 【ollama】
Error: llama runner process has terminated: exit status 0xc0000139
2025-02-13 20:58:52
390
原创 【使用反射 获取将 实体类对象 转换成Map】
使用反射 获取将 实体类对象 转换成MapMap<String,Object> objectForMap(Object obj,Map<String,Object> map) throws Exception { Class<?> clz = obj.getClass(); Field[] fields = clz.getDeclaredFields(); Method[] declaredMethods = clz.ge
2021-09-05 20:06:29
136
1
原创 【mysql 字符拼接替换】
//LEFT(Str,length) //instr(str,s1)//substr(str,pos)//replace(str,s1,s2)用字符串 s2 替换字符串 s 中所有的字符串 s1//concat(s1,s2)select concat(replace(left(`str`,instr(`str`,'2')),'2','M'),substr(`str`,instr(`str`,'2')+1)) from table ;...
2021-08-16 17:36:39
97
原创 【java HashMap::resize】
关于 jdk 8 HashMap::resize方法的简单理解/** * Initializes or doubles table size. If null, allocates in * accord with initial capacity target held in field threshold. * Otherwise, because we are using power-of-two expansion, the * elements from
2021-07-08 23:37:17
139
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅