首页 文章 精选 留言 我的

精选列表

搜索[数据脱敏],共10000篇文章
优秀的个人博客,低调大师

MariaDB 10.4.9 发布,MySQL 分支数据

MariaDB 10.4.9 发布了,值得关注的改进内容包括: MDEV-20864: Debug-only optioninnodb_change_buffer_dumpfor dumping the contents of the InnoDB change buffer to the server error log at startup. MariaBackup: MDEV-18438: mbstream recreates xtrabackup_info on same directory as backup file MDEV-20703: mariabackup creates binlog files in server binlog directory on --prepare --export step FULLTEXT INDEX: MDEV-19647: 删除全文索引并重启导致服务器挂起 MDEV-19529: InnoDB hang onDROP FULLTEXT INDEX MDEV-19073: FTS row mismatch after crash recovery MDEV-20621: FULLTEXT INDEX activity causes InnoDB hang MDEV-20927: Duplicate key with auto increment ALTER TABLE: MDEV-20799: DROP Virtual Column crash MDEV-20852: BtrBulk is unnecessarily holdingdict_index_t::lock System-Versioned Tables: MDEV-16210: FK constraints on versioned tables use historical rows, which may cause constraint violation MDEV-20812: UnexpectedER_ROW_IS_REFERENCED_2or server crash inrow_ins_foreign_report_errupon DELETE from versioned table with FK MDEV-20117: corruption after instant DROP/reorder COLUMN Galera wsrep library升级到 26.4.3 为 Ubuntu 19.10 Eoan 准备的发行包已经就绪 修复以下安全漏洞: CVE-2019-2974 CVE-2019-2938 完整的改进记录请看https://mariadb.com/kb/en/mariadb-1049-changelog/

优秀的个人博客,低调大师

数据结构与算法之冒泡排序优化

冒泡排序优化 /** * 冒泡排序优化算法 * * @param array */ public static void bubbleSortFast(int[] array) { int len = array.length; for (int i = 0; i < len - 1; i++) { boolean change = false; for (int j = 0; j < len - i - 1; j++) { if (array[j] > array[j + 1]) { int temp = array[j]; array[j] = array[j + 1]; array[j + 1] = temp; change = true; } } if (!change) { break; } } } /** * 冒泡排序原始算法,未优化 * * @param array */ public static void bubbleSortSlow(int[] array) { int len = array.length; for (int i = 0; i < len - 1; i++) { for (int j = 0; j < len - i - 1; j++) { if (array[j] > array[j + 1]) { int temp = array[j]; array[j] = array[j + 1]; array[j + 1] = temp; } } } } 测试代码: int[] array = {-30, -40, -99, 27, 88, 66, 89, 99}; 上面数组进行排序,调用传统算法需要遍历28次,调用优化后的算法只需要遍历18次

优秀的个人博客,低调大师

数据结构与算法之八皇后问题

八皇后问题代码实现 package com.pionner.recursion; public class Queen8 { int max = 8; int[] array = new int[max]; static int i = 0; public static void main(String[] args) { Queen8 queen8 = new Queen8(); queen8.check(0); System.out.println(i); } private void print() { for (int item : array) { System.out.print(item + " "); } System.out.println(); } private boolean judge(int n) { for (int i = 0; i < n; i++) { if (array[i] == array[n] || Math.abs(n - i) == Math.abs(array[n] - array[i])) { return false; } } return true; } private void check(int n) { if (n == max) { i++; print(); return; } for (int i = 0; i < max; i++) { array[n] = i; if (judge(n)) { check(n+1); } } } }

资源下载

更多资源
腾讯云软件源

腾讯云软件源

为解决软件依赖安装时官方源访问速度慢的问题,腾讯云为一些软件搭建了缓存服务。您可以通过使用腾讯云软件源站来提升依赖包的安装速度。为了方便用户自由搭建服务架构,目前腾讯云软件源站支持公网访问和内网访问。

Nacos

Nacos

Nacos /nɑ:kəʊs/ 是 Dynamic Naming and Configuration Service 的首字母简称,一个易于构建 AI Agent 应用的动态服务发现、配置管理和AI智能体管理平台。Nacos 致力于帮助您发现、配置和管理微服务及AI智能体应用。Nacos 提供了一组简单易用的特性集,帮助您快速实现动态服务发现、服务配置、服务元数据、流量管理。Nacos 帮助您更敏捷和容易地构建、交付和管理微服务平台。

Rocky Linux

Rocky Linux

Rocky Linux(中文名:洛基)是由Gregory Kurtzer于2020年12月发起的企业级Linux发行版,作为CentOS稳定版停止维护后与RHEL(Red Hat Enterprise Linux)完全兼容的开源替代方案,由社区拥有并管理,支持x86_64、aarch64等架构。其通过重新编译RHEL源代码提供长期稳定性,采用模块化包装和SELinux安全架构,默认包含GNOME桌面环境及XFS文件系统,支持十年生命周期更新。

WebStorm

WebStorm

WebStorm 是jetbrains公司旗下一款JavaScript 开发工具。目前已经被广大中国JS开发者誉为“Web前端开发神器”、“最强大的HTML5编辑器”、“最智能的JavaScript IDE”等。与IntelliJ IDEA同源,继承了IntelliJ IDEA强大的JS部分的功能。

用户登录
用户注册