开发者交流平台
开发者交流平台

通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。

bj
登录
  • 友情链接
站内
bit-manipulation

bit-manipulation

go

列举两个序列的交集

英文: Enumerating intersections of two sequences 问题 I have two sequences: 一个无符号64位数 k 的倍数,例如 k=5:{0, 5...
huangapple 2023年6月18日135评论algorithm c++
go

如何优化这个 C 中的位打包函数?

英文: How can I optimize this bit-packing function in C? 问题 这个代码示例接受任意数量的字节作为输入,一次处理一个字节,并将它们映射到一个包含32...
huangapple 2023年6月13日113评论c optimization
go

找到所有可以被某个数字整除的掩码子集。

英文: Find all subsets of a mask which are divisible by a certain number 问题 所有4位数1101的子集是0000、0001、010...
huangapple 2023年6月5日203评论algorithm data-structures
go

如何检查寄存器是否包含零字节而不使用SIMD指令

英文: How to check if a register contains a zero byte without SIMD instructions 问题 在x64架构中,给定一个64位通用寄存...
huangapple 2023年6月1日196评论assembly bit-manipulation
go

有没有更快的算法来计算 max(ctz(x), ctz(y))?

英文: Is there a faster algorithm for max(ctz(x), ctz(y))? 问题 对于 min(ctz(x), ctz(y)),我们可以使用 ctz(x | y)...
huangapple 2023年6月1日158评论c++ rust
go

Bitwise operator XOR (^) 在 Linux 和 Windows 中产生不同的结果。

英文: Bitwise operator XOR (^) gives different results in linux and windows 问题 由于某些难以解释的原因,我想在Perl中执行以...
huangapple 2023年5月28日121评论linux windows
go

如何从原始数据文件中读取12位无符号整数到JavaScript的UInt16Array中?

英文: How to read 12bit unsigned integers from a raw data file into UInt16Array in JavaScript? 问题 以下是翻...
huangapple 2023年5月25日155评论arrays javascript
go

找到一个乘数,可以将给定的索引转化为位形成。

英文: Find a multiplier which multiplies given indices into a formation of bits 问题 我有一组索引和一组位掩码(集合大小相同...
huangapple 2023年5月25日129评论bit-manipulation c++
go

只获取/设置长整型中特定的位。

英文: Get / Set only specific bits in a long 问题 我有一个包含多个字段的48位结构,我希望能够读取和操作这些字段。我认为我已经理解了获取部分,但在设置部分遇到...
huangapple 2023年5月18日138评论bit-manipulation c#
go

如何定义一个位组合的类型?

英文: How to define a type of a bit-combination? 问题 我正在努力使用PowerShell创建一个具有类似文件属性的位组合的自定义类型。稍后,该类型的使用应...
huangapple 2023年5月6日116评论powershell types
7

文章导航

1 2 3 4 5 6 7
name
开发者交流平台
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
文章117266 留言 4 访客17030931

热门标签

typescript json pandas flutter node.js r spring android c++ python arrays spring-boot reactjs javascript html c# css sql java go

悟已往之不谏,知来者之可追!

今日
00%
已00小时
本周
00%
已过00天
本月
00%
已过00天
今年
00%
已是00月

Copyright ©  开发者交流平台 版权所有.

闽 ICP 备 2022019110 号 - 1
  • 开发者交流平台

    本页二维码