Home › Code › is_power_of_two

is_power_of_two

Syntologyentry name in harvested coderead from the graph 2026-09-24

is_power_of_two appears in the code Syntology harvested for 15 papers, as 9 distinct code bodies found in 15 places (a place is one code body under one paper). At least one of them ran in 11 of the papers; 5 of the code bodies carry a behaviour fingerprint.

What this page is not. Routines are grouped here by the exact string of their function or class name. Nothing asserts that two samples named is_power_of_two do the same thing, share code, or are comparable; the name is a string, not an identity. Behaviour outputs (what a fingerprinted sample returned on the shared battery) are not in this export and are not shown here; the graph at syntology.ai holds them. "Ran" means executed on a synthesized fixture, not that the code is correct or reproduces a paper.

Samples Syntology

Syntology ran 5 of the 9 distinct code bodies named is_power_of_two; 4 are unverified. One tile per status, in the site's fixed vocabulary, each code body counted once:

0ran · honoured contract
3ran · violated contract
0ran · our draft was wrong
0ran · fixture could not drive it
2ran
4unverified
5fingerprinted

Licence is a property of each copy, so it is counted per place: 2 of the 15 places are pointer only (Syntology does not serve that copy's text). This site shows no code text for any sample; every row below links to the file in its repository where the record names one.

“Ran” means the sample executed on a synthesized input; it does not mean the output is correct. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code, and those samples did run. The ran count above is every status except unverified, the same rule as each paper page.

Papers

15 papers shown of 15, newest first; 15 places in the table. A paper with no recorded date is placed by the month its arXiv id encodes, shown in the Date column as YYYY-MM (from id). One row per place: a paper whose repository defines the name more than once appears more than once, and the same code body held for several papers appears once under each, with the same status. Titles and dates are the archive's archive 2025-07-28 for papers in the archive; 2 papers have no page here and are shown by arXiv id only. Status and fingerprint are Syntology's record of each code body; licence is recorded for each place. The File cell ends with the code body's code_sha256, Syntology's identity for that exact code: an agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

PaperDateFileStatus SyntologyLicence
Forgetting Transformer: Softmax Attention with a Forget Gate 3 Mar 2025 zhixuan-lin/forgetting-transformer/src/forgetting_transformer/utils.py 5c43f7270b7b5ef0 unverified MIT (permissive)
Diffusion$^2$: Dynamic 3D Content Generation via Score Composition of Video and Multi-view Diffusion Models 2 Apr 2024 fudan-zvg/diffusion-square/sgm/util.py 3753e92206c00bb9 ran fingerprinted MIT (permissive)
MindEye2: Shared-Subject Models Enable fMRI-To-Image With 1 Hour of Data 17 Mar 2024 medarc-ai/mindeyev2/src/generative_models/sgm/util.py 3753e92206c00bb9 ran fingerprinted MIT (permissive)
Distributed Inference and Fine-tuning of Large Language Models Over The Internet 13 Dec 2023 learning-at-home/hivemind/hivemind/averaging/key_manager.py 2c5d895963e9f129 ran fingerprinted MIT (permissive)
ControlNet-XS: Rethinking the Control of Text-to-Image Diffusion Models as Feedback-Control Systems 11 Dec 2023 vislearn/ControlNet-XS/sgm/util.py 3753e92206c00bb9 ran fingerprinted Apache-2.0 (permissive)
Panacea: Panoramic and Controllable Video Generation for Autonomous Driving 28 Nov 2023 wenyuqing/panacea/sgm/util.py 3753e92206c00bb9 ran fingerprinted Apache-2.0 (permissive)
Images as Weight Matrices: Sequential Image Generation Through Synaptic Learning Rules 7 Oct 2022 idsia/fpainter/code/painter.py f8afc5811c6fa56c ran · violated contract fingerprinted licence not identified · pointer only
Goal-driven Self-Attentive Recurrent Networks for Trajectory Prediction 25 Apr 2022 luigifilippochiara/Goal-SAR/src/utils.py fba0e99a69709c33 unverified MIT (permissive)
Real-time Detection of Anomalies in Multivariate Time Series of Astronomical Data 15 Dec 2021 philipperemy/keras-tcn/tcn/tcn.py 5f8a64995c24db47 unverified MIT (permissive)
Privacy-preserving collaborative machine learning on genomic data using TensorFlow 2020-02 (from id) identical code first harvested elsewhere 75eee8867ebaae8d ran · violated contract fingerprinted licence of this copy not recorded
Multi-scale Attributed Node Embedding 28 Sep 2019 ftheberge/GraphMiningNotebooks/Julia_Notebooks_2nd/simpliciality.py 0171f406a6992c25 unverified MIT (permissive)
Private Machine Learning in TensorFlow using Secure Computation 18 Oct 2018 tf-encrypted/tf-encrypted/tf_encrypted/protocol/aby3/aby3.py 75eee8867ebaae8d ran · violated contract fingerprinted Apache-2.0 (permissive)
WaveNet: A Generative Model for Raw Audio 12 Sep 2016 ShotDownDiane/tcn-master/tcn/tcn.py 8a1ea8ba7390e065 ran · violated contract fingerprinted MIT (permissive)
arXiv:136830137 hkust-vgd/neural_scene_decoration/lightweight_gan/lightweight_gan.py f8afc5811c6fa56c ran · violated contract fingerprinted MIT (permissive)
arXiv:04534 ZYM-PKU/UDiffText/sgm/util.py 3753e92206c00bb9 ran fingerprinted MIT (permissive)

This site shows no code text; each File cell links to the file on GitHub at the repository's current default branch, which may have changed since the harvest. "Pointer only" means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence cell for the reason. Per-sample records for a paper are on its paper page under "Code Syntology ran".

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections