Examples of free()


Examples of com.sun.messaging.jmq.io.VRFileRAF.free()

                    // copy message
                    newrecord.write(data);

                    // free old
                    vrfile.free(vrecord);

                    // cache new
                    vrecord = newrecord;
                }
View Full Code Here

Examples of com.sun.tools.javac.comp.Infer.InferenceContext.free()

     */
    Type check(final JCTree tree, final Type found, final int ownkind, final ResultInfo resultInfo) {
        InferenceContext inferenceContext = resultInfo.checkContext.inferenceContext();
        Type owntype = found;
        if (!owntype.hasTag(ERROR) && !resultInfo.pt.hasTag(METHOD) && !resultInfo.pt.hasTag(FORALL)) {
            if (allowPoly && inferenceContext.free(found)) {
                if ((ownkind & ~resultInfo.pkind) == 0) {
                    owntype = resultInfo.check(tree, inferenceContext.asFree(owntype));
                } else {
                    log.error(tree.pos(), "unexpected.type",
                            kindNames(resultInfo.pkind),
View Full Code Here

Examples of de.sciss.jcollider.Bus.free()

  public void oscCmd_freeBus( RoutedOSCMessage rom )
  {
    try {
      final Bus b = (Bus) mapOSCBusses.remove( rom.msg.getArg( 1 ));
      if( b != null ) {
        b.free();
      } else {
        OSCRoot.failed( rom.msg, OSCRoot.getResourceString( "errOSCBusNotFound" ));
      }
    }
    catch( IndexOutOfBoundsException e1 ) {
View Full Code Here

Examples of edu.wpi.first.wpilibj.image.BinaryImage.free()

                    array[1] = offset;
            }

            System.out.println(filteredImage.getNumberParticles() + "  " + Timer.getFPGATimestamp());

            filteredImage.free();
            convexHullImage.free();
            bigObjectsImage.free();
            thresholdImage.free();
            image.free();
View Full Code Here

Examples of edu.wpi.first.wpilibj.image.ColorImage.free()

            filteredImage.free();
            convexHullImage.free();
            bigObjectsImage.free();
            thresholdImage.free();
            image.free();

        } catch (NIVisionException ex) {
        }

        return array;
View Full Code Here

Examples of fr.dyade.aaa.util.Operation.free()

        // alloc a new one
        op.value = new byte[buf.length];
      }
      System.arraycopy(buf, 0, op.value, 0, buf.length);
    }
    if (old != null) old.free();

  }

  private final byte[] getFromLog(Hashtable log, Object key) throws IOException {
    // Searches in the log a new value for the object.
View Full Code Here

Examples of freenet.support.SimpleReadOnlyArrayBucket.free()

      catch (CompressionOutputSizeException e) {
        throw new TooBigException("Too big");
      } finally {
            inputStream.close();
            outputStream.close();
            inputBucket.free();
      }
            return outputBucket;
        } else {
          return BucketTools.makeImmutableBucket(bf, input, inputLength);
        }
View Full Code Here

Examples of freenet.support.api.Bucket.free()

  @Override
  protected void writeData(OutputStream os) throws IOException {
      for(Map.Entry<String, Bucket> entry : buckets.entrySet()) {
        Bucket bucket = entry.getValue();
        BucketTools.copyTo(bucket, os, bucket.size());
        if(freeOnSent) bucket.free(); // Always transient so no removeFrom() needed.
      }
  }
 
  @Override
  public SimpleFieldSet getFieldSet() {
View Full Code Here

Examples of freenet.support.api.LockableRandomAccessBuffer.free()

            if(lockOpenCount > 0) {
                try {
                    newLock = successor.lockOpen();
                } catch (IOException e) {
                    successor.close();
                    successor.free();
                    throw e;
                }
            }
            if(lockOpenCount > 0)
                underlyingLock.unlock();
View Full Code Here

Examples of freenet.support.api.RandomAccessBucket.free()

            assertTrue(readBytes > 0);
            assertTrue(Arrays.equals(Arrays.copyOfRange(buf, 0, readBytes), Arrays.copyOfRange(data, moved, moved+readBytes)));
            moved += readBytes;
        }
        is.close();
        bucket.free();
    }
   
    public void testIrregularWritesNotOverlapping() throws IOException {
        Random r = new Random(6032405);
        int length = 1024*64+1;
 
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.