MCPcopy Create free account
hub / github.com/DGVPSH/SlackOpen / printIntBuffer

Method printIntBuffer

src/main/java/net/optifine/shaders/Shaders.java:2008–2021  ·  view source on GitHub ↗
(String title, IntBuffer buf)

Source from the content-addressed store, hash-verified

2006 }
2007
2008 public static void printIntBuffer(String title, IntBuffer buf)
2009 {
2010 StringBuilder stringbuilder = new StringBuilder(128);
2011 stringbuilder.append(title).append(" [pos ").append(buf.position()).append(" lim ").append(buf.limit()).append(" cap ").append(buf.capacity()).append(" :");
2012 int i = buf.limit();
2013
2014 for (int j = 0; j < i; ++j)
2015 {
2016 stringbuilder.append(" ").append(buf.get(j));
2017 }
2018
2019 stringbuilder.append("]");
2020 SMCLog.info(stringbuilder.toString());
2021 }
2022
2023 public static void startup(Minecraft mcIn)
2024 {

Callers

nothing calls this directly

Calls 6

infoMethod · 0.95
positionMethod · 0.80
capacityMethod · 0.80
getMethod · 0.65
limitMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected