Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for shim (0.14 sec)

  1. src/main/java/jcifs/smb1/util/RC4.java

                s[i] = s[j];
                s[j] = t;
            }
    
            i = j = 0;
        }
        public void update(byte[] src, int soff, int slen, byte[] dst, int doff)
        {
            int slim;
    
            slim = soff + slen;
            while (soff < slim) {
                i = (i + 1) & 0xff;
                j = (j + s[i]) & 0xff;
                byte t = s[i];
                s[i] = s[j];
                s[j] = t;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 1.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/Encdec.java

        public static String dec_utf8 ( byte[] src, int si, int slim ) throws IOException {
            char[] uni = new char[slim - si];
            int ui, ch;
    
            for ( ui = 0; si < slim && ( ch = src[ si++ ] & 0xFF ) != 0; ui++ ) {
                if ( ch < 0x80 ) {
                    uni[ ui ] = (char) ch;
                }
                else if ( ( ch & 0xE0 ) == 0xC0 ) {
                    if ( ( slim - si ) < 2 ) {
                        break;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 11K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

        void tryClose() {
            synchronized( LOCK ) {
    
                /* Yes, there is the potential to drop packets
                 * because we might close the socket during a
                 * request. However the chances are slim and the
                 * retry code should ensure the overall request
                 * is serviced. The alternative complicates things
                 * more than I think is worth it.
                 */
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 17.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/netbios/NameServiceClientImpl.java

            synchronized ( this.LOCK ) {
    
                /*
                 * Yes, there is the potential to drop packets
                 * because we might close the socket during a
                 * request. However the chances are slim and the
                 * retry code should ensure the overall request
                 * is serviced. The alternative complicates things
                 * more than I think is worth it.
                 */
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Aug 14 14:26:22 GMT 2022
    - 38.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/util/Encdec.java

        }
        public static String dec_utf8( byte[] src, int si, int slim ) throws IOException {
            char[] uni = new char[slim - si];
            int ui, ch;
    
            for( ui = 0; si < slim && (ch = src[si++] & 0xFF) != 0; ui++ ) {
                if( ch < 0x80 ) {
                    uni[ui] = (char)ch;
                } else if((ch & 0xE0) == 0xC0 ) {
                    if((slim - si) < 2 ) {
                        break;
                    }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 10.9K bytes
    - Viewed (0)
Back to top