本文整理了Java中org.glassfish.grizzly.memory.Buffers.dumpBuffer0()
方法的一些代码示例,展示了Buffers.dumpBuffer0()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Buffers.dumpBuffer0()
方法的具体详情如下:
包路径:org.glassfish.grizzly.memory.Buffers
类名称:Buffers
方法名:dumpBuffer0
暂无
代码示例来源:origin: javaee/grizzly
/**
* Generates a hex dump of the provided {@link Buffer}.
* @param appendable the {@link Appendable} to write the hex dump to.
* @param buffer the {@link Buffer} to dump.
*
* @since 2.3.23
*/
@SuppressWarnings("unused")
public static void dumpBuffer(final Appendable appendable, final Buffer buffer) {
final Formatter formatter = new Formatter(appendable);
dumpBuffer0(formatter, appendable, buffer);
}
代码示例来源:origin: javaee/grizzly
/**
* Generates a hex dump of the provided {@link Buffer}.
* @param appendable the {@link Appendable} to write the hex dump to.
* @param buffer the {@link Buffer} to dump.
*
* @since 2.3.23
*/
@SuppressWarnings("unused")
public static void dumpBuffer(final Appendable appendable, final Buffer buffer) {
final Formatter formatter = new Formatter(appendable);
dumpBuffer0(formatter, appendable, buffer);
}
代码示例来源:origin: org.glassfish.grizzly/grizzly-http-server-core
/**
* Generates a hex dump of the provided {@link Buffer}.
* @param appendable the {@link Appendable} to write the hex dump to.
* @param buffer the {@link Buffer} to dump.
*
* @since 2.3.23
*/
@SuppressWarnings("unused")
public static void dumpBuffer(final Appendable appendable, final Buffer buffer) {
final Formatter formatter = new Formatter(appendable);
dumpBuffer0(formatter, appendable, buffer);
}
代码示例来源:origin: javaee/grizzly
/**
* Generates a hex dump of the provided {@link Buffer}.
* @param appendable the {@link Appendable} to write the hex dump to.
* @param buffer the {@link Buffer} to dump.
*
* @since 2.3.23
*/
@SuppressWarnings("unused")
public static void dumpBuffer(final Appendable appendable, final Buffer buffer) {
final Formatter formatter = new Formatter(appendable);
dumpBuffer0(formatter, appendable, buffer);
}
代码示例来源:origin: javaee/grizzly
/**
* Generates a hex dump of the provided {@link Buffer}.
* @param appendable the {@link Appendable} to write the hex dump to.
* @param buffer the {@link Buffer} to dump.
*
* @since 2.3.23
*/
@SuppressWarnings("unused")
public static void dumpBuffer(final Appendable appendable, final Buffer buffer) {
final Formatter formatter = new Formatter(appendable);
dumpBuffer0(formatter, appendable, buffer);
}
代码示例来源:origin: org.glassfish.grizzly/grizzly-core
/**
* Generates a hex dump of the provided {@link Buffer}.
* @param appendable the {@link Appendable} to write the hex dump to.
* @param buffer the {@link Buffer} to dump.
*
* @since 2.3.23
*/
@SuppressWarnings("unused")
public static void dumpBuffer(final Appendable appendable, final Buffer buffer) {
final Formatter formatter = new Formatter(appendable);
dumpBuffer0(formatter, appendable, buffer);
}
代码示例来源:origin: org.glassfish.grizzly/grizzly-websockets-server
/**
* Generates a hex dump of the provided {@link Buffer}.
* @param appendable the {@link Appendable} to write the hex dump to.
* @param buffer the {@link Buffer} to dump.
*
* @since 2.3.23
*/
@SuppressWarnings("unused")
public static void dumpBuffer(final Appendable appendable, final Buffer buffer) {
final Formatter formatter = new Formatter(appendable);
dumpBuffer0(formatter, appendable, buffer);
}
代码示例来源:origin: javaee/grizzly
/**
* Generates a hex dump of the provided {@link Buffer}.
* @param appendable the {@link Appendable} to write the hex dump to.
* @param buffer the {@link Buffer} to dump.
*
* @since 2.3.23
*/
@SuppressWarnings("unused")
public static void dumpBuffer(final Appendable appendable, final Buffer buffer) {
final Formatter formatter = new Formatter(appendable);
dumpBuffer0(formatter, appendable, buffer);
}
代码示例来源:origin: javaee/grizzly
/**
* Generates a hex dump of the provided {@link Buffer}.
* @param appendable the {@link Appendable} to write the hex dump to.
* @param buffer the {@link Buffer} to dump.
*
* @since 2.3.23
*/
@SuppressWarnings("unused")
public static void dumpBuffer(final Appendable appendable, final Buffer buffer) {
final Formatter formatter = new Formatter(appendable);
dumpBuffer0(formatter, appendable, buffer);
}
代码示例来源:origin: org.mule.glassfish.grizzly/grizzly-framework
/**
* Generates a hex dump of the provided {@link Buffer}.
* @param appendable the {@link Appendable} to write the hex dump to.
* @param buffer the {@link Buffer} to dump.
*
* @since 2.3.23
*/
@SuppressWarnings("unused")
public static void dumpBuffer(final Appendable appendable, final Buffer buffer) {
final Formatter formatter = new Formatter(appendable);
dumpBuffer0(formatter, appendable, buffer);
}
代码示例来源:origin: javaee/grizzly
/**
* Generates a hex dump of the provided {@link Buffer}.
* @param appendable the {@link Appendable} to write the hex dump to.
* @param buffer the {@link Buffer} to dump.
*
* @since 2.3.23
*/
@SuppressWarnings("unused")
public static void dumpBuffer(final Appendable appendable, final Buffer buffer) {
final Formatter formatter = new Formatter(appendable);
dumpBuffer0(formatter, appendable, buffer);
}
代码示例来源:origin: javaee/grizzly
/**
* Generates a hex dump of the provided {@link Buffer}.
* @param appendable the {@link Appendable} to write the hex dump to.
* @param buffer the {@link Buffer} to dump.
*
* @since 2.3.23
*/
@SuppressWarnings("unused")
public static void dumpBuffer(final Appendable appendable, final Buffer buffer) {
final Formatter formatter = new Formatter(appendable);
dumpBuffer0(formatter, appendable, buffer);
}
代码示例来源:origin: javaee/grizzly
@SuppressWarnings("UnusedParameters")
private static void dumpBuffer0(final Formatter formatter,
final Appendable appendable,
final Buffer buffer) {
if (buffer.isComposite()) {
final BufferArray bufferArray = buffer.toBufferArray();
final int size = bufferArray.size();
final Buffer[] buffers = bufferArray.getArray();
formatter.format("%s\n", buffer.toString());
for (int i = 0; i < size; i++) {
dumpBuffer0(formatter, appendable, buffers[i]);
}
formatter.format("End CompositeBuffer (%d)", System.identityHashCode(buffer));
} else {
dumpBuffer0(formatter, buffer);
}
}
代码示例来源:origin: javaee/grizzly
@SuppressWarnings("UnusedParameters")
private static void dumpBuffer0(final Formatter formatter,
final Appendable appendable,
final Buffer buffer) {
if (buffer.isComposite()) {
final BufferArray bufferArray = buffer.toBufferArray();
final int size = bufferArray.size();
final Buffer[] buffers = bufferArray.getArray();
formatter.format("%s\n", buffer.toString());
for (int i = 0; i < size; i++) {
dumpBuffer0(formatter, appendable, buffers[i]);
}
formatter.format("End CompositeBuffer (%d)", System.identityHashCode(buffer));
} else {
dumpBuffer0(formatter, buffer);
}
}
代码示例来源:origin: javaee/grizzly
@SuppressWarnings("UnusedParameters")
private static void dumpBuffer0(final Formatter formatter,
final Appendable appendable,
final Buffer buffer) {
if (buffer.isComposite()) {
final BufferArray bufferArray = buffer.toBufferArray();
final int size = bufferArray.size();
final Buffer[] buffers = bufferArray.getArray();
formatter.format("%s\n", buffer.toString());
for (int i = 0; i < size; i++) {
dumpBuffer0(formatter, appendable, buffers[i]);
}
formatter.format("End CompositeBuffer (%d)", System.identityHashCode(buffer));
} else {
dumpBuffer0(formatter, buffer);
}
}
代码示例来源:origin: javaee/grizzly
@SuppressWarnings("UnusedParameters")
private static void dumpBuffer0(final Formatter formatter,
final Appendable appendable,
final Buffer buffer) {
if (buffer.isComposite()) {
final BufferArray bufferArray = buffer.toBufferArray();
final int size = bufferArray.size();
final Buffer[] buffers = bufferArray.getArray();
formatter.format("%s\n", buffer.toString());
for (int i = 0; i < size; i++) {
dumpBuffer0(formatter, appendable, buffers[i]);
}
formatter.format("End CompositeBuffer (%d)", System.identityHashCode(buffer));
} else {
dumpBuffer0(formatter, buffer);
}
}
代码示例来源:origin: org.glassfish.grizzly/grizzly-websockets-server
@SuppressWarnings("UnusedParameters")
private static void dumpBuffer0(final Formatter formatter,
final Appendable appendable,
final Buffer buffer) {
if (buffer.isComposite()) {
final BufferArray bufferArray = buffer.toBufferArray();
final int size = bufferArray.size();
final Buffer[] buffers = bufferArray.getArray();
formatter.format("%s\n", buffer.toString());
for (int i = 0; i < size; i++) {
dumpBuffer0(formatter, appendable, buffers[i]);
}
formatter.format("End CompositeBuffer (%d)", System.identityHashCode(buffer));
} else {
dumpBuffer0(formatter, buffer);
}
}
代码示例来源:origin: org.glassfish.grizzly/grizzly-core
@SuppressWarnings("UnusedParameters")
private static void dumpBuffer0(final Formatter formatter,
final Appendable appendable,
final Buffer buffer) {
if (buffer.isComposite()) {
final BufferArray bufferArray = buffer.toBufferArray();
final int size = bufferArray.size();
final Buffer[] buffers = bufferArray.getArray();
formatter.format("%s\n", buffer.toString());
for (int i = 0; i < size; i++) {
dumpBuffer0(formatter, appendable, buffers[i]);
}
formatter.format("End CompositeBuffer (%d)", System.identityHashCode(buffer));
} else {
dumpBuffer0(formatter, buffer);
}
}
代码示例来源:origin: javaee/grizzly
@SuppressWarnings("UnusedParameters")
private static void dumpBuffer0(final Formatter formatter,
final Appendable appendable,
final Buffer buffer) {
if (buffer.isComposite()) {
final BufferArray bufferArray = buffer.toBufferArray();
final int size = bufferArray.size();
final Buffer[] buffers = bufferArray.getArray();
formatter.format("%s\n", buffer.toString());
for (int i = 0; i < size; i++) {
dumpBuffer0(formatter, appendable, buffers[i]);
}
formatter.format("End CompositeBuffer (%d)", System.identityHashCode(buffer));
} else {
dumpBuffer0(formatter, buffer);
}
}
代码示例来源:origin: javaee/grizzly
@SuppressWarnings("UnusedParameters")
private static void dumpBuffer0(final Formatter formatter,
final Appendable appendable,
final Buffer buffer) {
if (buffer.isComposite()) {
final BufferArray bufferArray = buffer.toBufferArray();
final int size = bufferArray.size();
final Buffer[] buffers = bufferArray.getArray();
formatter.format("%s\n", buffer.toString());
for (int i = 0; i < size; i++) {
dumpBuffer0(formatter, appendable, buffers[i]);
}
formatter.format("End CompositeBuffer (%d)", System.identityHashCode(buffer));
} else {
dumpBuffer0(formatter, buffer);
}
}
内容来源于网络,如有侵权,请联系作者删除!