855856857858859860861862863
return d[0]; } public void unpack(float d[], int n, int stride) throws jpvmException { if(curr_elt == null) throw new jpvmException("buffer empty, upkfloat."); curr_elt.unpack(d,n,stride); curr_elt = curr_elt.next; }
868869870871872873874875876
return d[0]; } public void unpack(double d[], int n, int stride) throws jpvmException { if(curr_elt == null) throw new jpvmException("buffer empty, upkdouble."); curr_elt.unpack(d,n,stride); curr_elt = curr_elt.next; }
882883884885886887888889890
} public void unpack(jpvmTaskId d[], int n, int stride) throws jpvmException { if(curr_elt == null) throw new jpvmException("buffer empty, upktid."); curr_elt.unpack(d,n,stride); curr_elt = curr_elt.next; }
896897898899900901902903904
} public void unpack(Neuron d[], int n, int stride) throws jpvmException { if(curr_elt == null) throw new jpvmException("buffer empty, upktid."); curr_elt.unpack(d,n,stride); curr_elt = curr_elt.next; }
910911912913914915916917918
} public void unpack(Transmissible d[], int n, int stride) throws jpvmException { if(curr_elt == null) throw new jpvmException("buffer empty, upktid."); curr_elt.unpack(d,n,stride); curr_elt = curr_elt.next; }
924925926927928929930931932933
} public String upkstr() throws jpvmException { if(curr_elt == null) throw new jpvmException("buffer empty, upkstring."); String ret = curr_elt.unpack(); curr_elt = curr_elt.next; return ret; }
942943944945946947948949950
tmp = tmp.next; } } catch (IOException ioe) { jpvmDebug.note("jpvmBuffer, send - i/o exception"); throw new jpvmException("jpvmBuffer, send - " + "i/o exception"); } }
964965966967968969970971972
addElt(tmp); } } catch (IOException ioe) { jpvmDebug.note("jpvmBuffer, recv - i/o exception"); throw new jpvmException("jpvmBuffer, recv - " + "i/o exception"); } }