Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Bos (0.22 sec)

  1. src/main/java/jcifs/internal/smb1/com/SmbComNegotiate.java

            ByteArrayOutputStream bos = new ByteArrayOutputStream();
    
            for ( String dialect : this.dialects ) {
                bos.write(0x02);
                try {
                    bos.write(Strings.getASCIIBytes(dialect));
                }
                catch ( IOException e ) {
                    throw new RuntimeCIFSException(e);
                }
                bos.write(0x0);
            }
    
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3.3K bytes
    - Viewed (0)
  2. 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 21 00:10:10 GMT 2024
    - Last Modified: Mon Jan 04 04:18:31 GMT 2021
    - 14.8K bytes
    - Viewed (0)
  3. 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 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 47.9K bytes
    - Viewed (1)
  4. 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 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.2K bytes
    - Viewed (0)
  5. 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 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 49.3K bytes
    - Viewed (0)
  6. 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