public void xdrDecode(XdrDecodingStream xdr) throws OncRpcException, IOException { craa_objects_to_keep = new uint32_t(xdr); craa_type_mask = new bitmap4(xdr); }
public void xdrDecode(XdrDecodingStream xdr) throws OncRpcException, IOException { smt_ssv_seq = new uint32_t(xdr); smt_hmac = xdr.xdrDecodeDynamicOpaque(); }
public void xdrDecode(XdrDecodingStream xdr) throws OncRpcException, IOException { smpt_ssv_seq = new uint32_t(xdr); smpt_orig_plain = xdr.xdrDecodeDynamicOpaque(); }
public void xdrDecode(XdrDecodingStream xdr) throws OncRpcException, IOException { cb_program = new uint32_t(xdr); cb_location = new netaddr4(xdr); }
public void xdrDecode(XdrDecodingStream xdr) throws OncRpcException, IOException { seqid = new uint32_t(xdr); other = xdr.xdrDecodeOpaque(12); }
public void xdrDecode(XdrDecodingStream xdr) throws OncRpcException, IOException { ffl_stripe_unit = new length4(xdr); { int $size = xdr.xdrDecodeInt(); ffl_mirrors = new ff_mirror4[$size]; for ( int $idx = 0; $idx < $size; ++$idx ) { ffl_mirrors[$idx] = new ff_mirror4(xdr); } } ffl_flags4 = new uint32_t(xdr); ffl_stats_collect_hint = new uint32_t(xdr); }
public void xdrDecode(XdrDecodingStream xdr) throws OncRpcException, IOException { tag = new utf8str_cs(xdr); minorversion = new uint32_t(xdr); callback_ident = new uint32_t(xdr); { int $size = xdr.xdrDecodeInt(); argarray = new nfs_cb_argop4[$size]; for ( int $idx = 0; $idx < $size; ++$idx ) { argarray[$idx] = new nfs_cb_argop4(xdr); } } }
public COMPOUND4args build() { final COMPOUND4args compound4args = new COMPOUND4args(); compound4args.tag = new utf8str_cs(tag); compound4args.minorversion = new uint32_t(minorversion); compound4args.argarray = ops.toArray(new nfs_argop4[0]); return compound4args; }
public void xdrDecode(XdrDecodingStream xdr) throws OncRpcException, IOException { bca_cb_program = new uint32_t(xdr); { int $size = xdr.xdrDecodeInt(); bca_sec_parms = new callback_sec_parms4[$size]; for ( int $idx = 0; $idx < $size; ++$idx ) { bca_sec_parms[$idx] = new callback_sec_parms4(xdr); } } }
public void xdrDecode(XdrDecodingStream xdr) throws OncRpcException, IOException { nflh_care = new uint32_t(xdr); nflh_util = new nfl_util4(xdr); nflh_stripe_count = new count4(xdr); }
private static acemask4 toAceMask(int mode, boolean isDir, boolean isOwner) { acemask4 acemask = new acemask4(); acemask.value = new uint32_t(toAccessMask(mode, isDir, isOwner)); return acemask; }
public void xdrDecode(XdrDecodingStream xdr) throws OncRpcException, IOException { client = new nfs_client_id4(xdr); callback = new cb_client4(xdr); callback_ident = new uint32_t(xdr); }
public void xdrDecode(XdrDecodingStream xdr) throws OncRpcException, IOException { { int $size = xdr.xdrDecodeInt(); nflda_stripe_indices = new uint32_t[$size]; for ( int $idx = 0; $idx < $size; ++$idx ) { nflda_stripe_indices[$idx] = new uint32_t(xdr); } } { int $size = xdr.xdrDecodeInt(); nflda_multipath_ds_list = new multipath_list4[$size]; for ( int $idx = 0; $idx < $size; ++$idx ) { nflda_multipath_ds_list[$idx] = new multipath_list4(xdr); } } }
public void xdrDecode(XdrDecodingStream xdr) throws OncRpcException, IOException { sspt_confounder = xdr.xdrDecodeDynamicOpaque(); sspt_ssv_seq = new uint32_t(xdr); sspt_orig_plain = xdr.xdrDecodeDynamicOpaque(); sspt_pad = xdr.xdrDecodeDynamicOpaque(); }
public void xdrDecode(XdrDecodingStream xdr) throws OncRpcException, IOException { stateid = new stateid4(xdr); cinfo = new change_info4(xdr); rflags = new uint32_t(xdr); attrset = new bitmap4(xdr); delegation = new open_delegation4(xdr); }
public void xdrDecode(XdrDecodingStream xdr) throws OncRpcException, IOException { eia_clientowner = new client_owner4(xdr); eia_flags = new uint32_t(xdr); eia_state_protect = new state_protect4_a(xdr); { int $size = xdr.xdrDecodeInt(); eia_client_impl_id = new nfs_impl_id4[$size]; for ( int $idx = 0; $idx < $size; ++$idx ) { eia_client_impl_id[$idx] = new nfs_impl_id4(xdr); } } }
public void xdrDecode(XdrDecodingStream xdr) throws OncRpcException, IOException { ca_headerpadsize = new count4(xdr); ca_maxrequestsize = new count4(xdr); ca_maxresponsesize = new count4(xdr); ca_maxresponsesize_cached = new count4(xdr); ca_maxoperations = new count4(xdr); ca_maxrequests = new count4(xdr); { int $size = xdr.xdrDecodeInt(); ca_rdma_ird = new uint32_t[$size]; for ( int $idx = 0; $idx < $size; ++$idx ) { ca_rdma_ird[$idx] = new uint32_t(xdr); } } }
@Test public void testEqualsTrue() { stateid4 stateidA = new stateid4(); stateidA.seqid = new uint32_t(1); stateidA.other = "state".getBytes(); stateid4 stateidB = new stateid4(); stateidB.seqid = new uint32_t(1); stateidB.other = "state".getBytes(); assertTrue("equal keys not equal", stateidA.equals(stateidB)); assertTrue("equal, but different hashCode", stateidA.hashCode() == stateidB.hashCode() ); assertTrue("not equal by other and seqid must", stateidA.equalsWithSeq(stateidB)); }