https://github.com/ocelot-inc/ocelotgui/blob/19349c7334347eb37ef61b9694390581ea5db238/ocelotgui.cpp#L16896C5-L16896C29

I need to find this line of code based on the keywords “tnt_select” and “2^32”, without specifying the repository because I’m looking for instances of the same bug in other projects. This repo is public, the file isn’t obfuscated, the code is in the head of the default branch. I’ve tried Google, Github Code Search, Sourcegraph, and BigQuery on the Github data set. I’ve found a few ways to locate the .rst and .po documentation files that the bug was copied from, but none that find even this single example of it in actual source code files.

Weird, clicking your link github shows me:

(Sorry about that, but we can’t show files that are this big right now.)

I can click the “raw” link, which shows the whole 32k line file, but then I don’t know which line you were trying to reference.

Can you give us the specific line number(s) you were interested in?

It’s line no 16896

Create a post

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person’s post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you’re posting long videos try to add in some form of tldr for those who don’t want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



  • 1 user online
  • 1 user / day
  • 1 user / week
  • 1 user / month
  • 1 user / 6 months
  • 1 subscriber
  • 1.21K Posts
  • 17.8K Comments
  • Modlog