Examples of free()


Examples of org.libvirt.StoragePool.free()

                        sp.destroy();
                        sp.undefine();
                    } else {
                        sp.destroy();
                    }
                    sp.free();
                } catch (LibvirtException l) {
                    s_logger.debug("Failed to undefine nfs storage pool with: "
                        + l.toString());
                }
            }
View Full Code Here

Examples of org.libvirt.StorageVol.free()

        LibvirtStoragePool libvirtPool = (LibvirtStoragePool) pool;
        try {
            StorageVol vol = this.getVolume(libvirtPool.getPool(), uuid);
            deleteVol(libvirtPool, vol);
            vol.free();
            return true;
        } catch (LibvirtException e) {
            throw new CloudRuntimeException(e.toString());
        }
    }
View Full Code Here

Examples of org.nustaq.offheap.FSTAsciiStringOffheapMap.free()

            }
            dur = System.currentTimeMillis() - tim+1;
            System.out.println("bin iter "+ dur +" for "+iterCnt+" recs. "+(MAX/dur)+" per ms ");
            Assert.assertTrue(iterCnt == store.getSize());
        }
        store.free();
    }

    private void mutateRandom(int MAX, FSTAsciiStringOffheapMap store) {
        long tim;
        long dur;
View Full Code Here

Examples of org.nustaq.offheap.OffHeapByteTree.free()

                String key = "" + Math.random() + "0000000000000000000";
                key = key.substring(0, klen);
                bt.put(new AsciiStringByteSource(key), i + 1);
            }
            bt.dumpStats();
            bt.free();
            System.out.println("done");
        }

    }
View Full Code Here

Examples of org.tarantool.pool.SocketChannelPooledConnectionFactory.free()

    }
    assertEquals(1, template.save(user).replace());
    assertNotNull(template.find(User.class, 0, "id").condition(user.getId()).list());
    assertEquals(user.getPhone() + 1L, template.update(User.class, user.getId()).add("phone", 1).updateAndGet().getPhone());

    connectionFactory.free();
    return;
  }

  @Test
  public void testCycle2() throws ParseException, MalformedURLException {
View Full Code Here

Examples of org.xnio.Pooled.free()

                    for (int i = 0; i < pooledBuffers.length; ++i) {
                        Pooled p = pooledBuffers[i];
                        if (p == null) {
                            break;
                        }
                        p.free();
                    }
                }
            } else {
                buffer.put(b, off, len);
                if (buffer.remaining() == 0) {
View Full Code Here

Examples of org.xtreemfs.babudb.index.reader.InternalMergeIterator.free()

        DiskIndexWriter writer = new DiskIndexWriter(targetFile, maxEntriesPerBlock, compressed,
            maxBlockFileSize);
       
        InternalMergeIterator it = internalPrefixLookup(null, snapId, true);
        writer.writeIndex(it);
        it.free();
    }
   
    /**
     * Writes a certain part of an in-memory snapshot to a file on disk.
     *
 
View Full Code Here

Examples of org.xtreemfs.babudb.log.LogEntry.free()

                ReplicateResponse rp = replMan.replicate(le);
                if (!rp.hasFailed()) {
                    replMan.subscribeListener(rp);
                }
               
                le.free();
            }
           
            @Override
            public void failed(BabuDBException error, Object context) {
               
View Full Code Here

Examples of solver.search.strategy.decision.Decision.free()

      timeStamp++;
      Decision tmp;
      while (decision != RootDecision.ROOT) {
        tmp = decision;
        decision = tmp.getPrevious();
        tmp.free();
      }
      nextState = INIT;
      rootWorldIndex = -1;
      searchWorldIndex = -1;
      measures.reset();
View Full Code Here

Examples of xerial.larray.LIntArray.free()

        for (long i = 0; i < l.size(); ++i) l.update(i, (int) (i * i));
        _logger.debug(l.mkString(", "));

        Assert.assertEquals(5L, l.size());

        l.free();
    }
}
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.