src/org/jnetpcap/nio/JMemoryPool.java
public synchronized void allocate(final int size, final JMemory memory) {

		final Block block = getBlock(size);
		final int offset = block.allocate(size);

		memory.peer(block, offset, size);
	}
/**
	 * Allocates size bytes of memory and initializes the supplied memory pointer
	 * class.
	 * 
	 * @param size
	 *          number of bytes
	 * @param memory
	 *          memory pointer
	 */
Allocates size bytes of memory and initializes the supplied memory pointer
class.

@param size
number of bytes
@param memory
memory pointer
Allocates size bytes of memory and initializes the supplied memory pointer class . @param size number of bytes @param memory memory pointer
public synchronized void allocate(final int size, final JMemory memory) {
		final Block block = getBlock(size);
		final int offset = block.allocate(size);
		memory.peer(block, offset, size);
	}
public synchronized void allocate ( final int size , final JMemory memory ) { final Block block = getBlock ( size ) ; final int offset = block . allocate ( size ) ; memory . peer ( block , offset , size ) ; }
Allocates size bytes of memory and initializes the supplied memory pointer
 class.
Allocates size bytes of memory and initializes the supplied memory pointer class .