Lines Matching defs:oid
71 for (String oid: SMALL) {
73 check(out(oid), oid);
75 check(out6(oid), oid);
77 for (String oid: HUGE) {
79 check(out(oid), oid);
82 for (String oid: SMALL) {
84 check(out(oid), oid);
86 check(out7(oid), oid);
88 for (String oid: HUGE) {
92 check(out7(oid), oid);
114 private static byte[] out6(String oid) throws Exception {
115 return new sun.misc.BASE64Decoder().decodeBuffer(dump6.get(oid));
119 private static byte[] out7(String oid) throws Exception {
120 return new sun.misc.BASE64Decoder().decodeBuffer(dump7.get(oid));
124 private static byte[] out(String oid) throws Exception {
126 new ObjectOutputStream(bout).writeObject(new ObjectIdentifier(oid));
131 private static void check(byte[] in, String oid) throws Exception {
134 if (!o.toString().equals(oid)) {
135 throw new Exception("Read Fail " + o + ", not " + oid);
141 for (String oid: oids) {
142 String[] base64 = encoder.encodeBuffer(out(oid)).split("\n");
143 System.out.println(" " + title + ".put(\"" + oid + "\",");