Examples of free()


Examples of cli.System.Runtime.InteropServices.GCHandle.Free()

            PrivateFontCollection pfc = new PrivateFontCollection();
            // AddMemoryFont throws a cli.System.IO.FileNotFoundException if the data are corrupt
            pfc.AddMemoryFont( handle.AddrOfPinnedObject(), fontData.length );
            return pfc;
        } finally {
            handle.Free();
        }
    }

    /**
     * Returns a new <code>Font</code> using the specified font type
View Full Code Here

Examples of com.badlogic.gdx.utils.ReflectionPool.free()

     
      if (pool == null) {
        return; // Ignore freeing an object that was never retained.
      }
     
      pool.free(object);
    }

    public void freeAll(Array objects) {
      if (objects == null) throw new IllegalArgumentException("objects cannot be null.");
     
View Full Code Here

Examples of com.caucho.db.block.Block.free()

  public void close()
  {
    if (_block != null) {
      Block block = _block;
      _block = null;
      block.free();
    }
  }

  /**
   * Updates the buffer.
View Full Code Here

Examples of com.caucho.db.block.Block.free()

    Block block = _block;
    _block = null;
    _buffer = null;

    if (block != null) {
      block.free();
    }
   
    _blockId = 0;
    _rowOffset = Integer.MAX_VALUE / 2;
    _queryContext = null;
View Full Code Here

Examples of com.caucho.db.block.Block.free()

    Block block = _block;
    _block = null;
    _buffer = null;

    if (block != null) {
      block.free();
    }

    _blockId = _table.firstRowBlock(_blockId + Table.BLOCK_SIZE);

    if (_blockId < 0) {
View Full Code Here

Examples of com.caucho.db.block.Block.free()

      Block block = _block;
      _block = null;
      _buffer = null;

      if (block != null) {
        block.free();
      }

      _block = _xa.readBlock(_table, _blockId);
      _buffer = _block.getBuffer();
    }
View Full Code Here

Examples of com.caucho.db.block.Block.free()

    Block block = _block;
    _block = null;
    _buffer = null;

    if (block != null)
      block.free();

    _rowOffset = 0;
    _buffer = _nullBuffer;
  }
View Full Code Here

Examples of com.caucho.db.block.Block.free()

  {
    Block block = _block;
    _block = null;

    if (block != null)
      block.free();
  }
}
View Full Code Here

Examples of com.caucho.db.block.Block.free()

      try {
        if (! removeRead(rootBlock, keyBuffer, keyOffset, keyLength)) {
          removeWrite(rootBlock, keyBuffer, keyOffset, keyLength);
        }
      } finally {
        rootBlock.free();
      }
    } catch (RuntimeException e) {
      throw e;
    } catch (SQLException e) {
      throw e;
View Full Code Here

Examples of com.caucho.db.block.Block.free()

        if (removeRead(childBlock, keyBuffer, keyOffset, keyLength))
          return true;
        else
          return removeWrite(childBlock, keyBuffer, keyOffset, keyLength);
      } finally {
        childBlock.free();
      }
    } finally {
      blockLock.unlock();
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.