Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Bos (0.16 sec)

  1. src/main/java/jcifs/smb/SpnegoContext.java

            try {
                ByteArrayOutputStream bos = new ByteArrayOutputStream();
                ASN1OutputStream dos = ASN1OutputStream.create(bos, ASN1Encoding.DER);
                dos.writeObject(new DERSequence(mechs));
                dos.close();
                return bos.toByteArray();
            }
            catch ( IOException e ) {
    Java
    - Registered: Sun Apr 14 00:10:09 GMT 2024
    - Last Modified: Mon Jan 04 04:18:31 GMT 2021
    - 14.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/SetsTest.java

          throws IOException {
        ByteArrayOutputStream bos = new ByteArrayOutputStream();
        ObjectOutputStream out = new ObjectOutputStream(bos);
    
        out.writeObject(original);
    
        byte[] handle = toByteArray(baseWireHandle + handleOffset);
        byte[] ref = prepended(TC_REFERENCE, handle);
        bos.write(ref);
    
        return bos.toByteArray();
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 47.9K bytes
    - Viewed (1)
  3. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

      <T> T serialClone(T o) {
        try {
          ByteArrayOutputStream bos = new ByteArrayOutputStream();
          ObjectOutputStream oos = new ObjectOutputStream(bos);
          oos.writeObject(o);
          oos.flush();
          oos.close();
          ObjectInputStream ois = new ObjectInputStream(new ByteArrayInputStream(bos.toByteArray()));
          T clone = (T) ois.readObject();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

      <T> T serialClone(T o) {
        try {
          ByteArrayOutputStream bos = new ByteArrayOutputStream();
          ObjectOutputStream oos = new ObjectOutputStream(bos);
          oos.writeObject(o);
          oos.flush();
          oos.close();
          ObjectInputStream ois = new ObjectInputStream(new ByteArrayInputStream(bos.toByteArray()));
          T clone = (T) ois.readObject();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.7K bytes
    - Viewed (0)
Back to top