Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 411 for init (0.17 sec)

  1. src/main/java/jcifs/pac/PacMac.java

            if ( carry != 0 ) {
                for ( int i = outlen - 1; i >= 0; i-- ) {
                    carry += ( buf[ i ] & 0xff );
                    buf[ i ] = (byte) ( carry & 0xff );
                    carry >>>= 8;
                }
            }
            return buf;
        }
    
    
        private static int carry_add ( byte[] data, byte[] out, int c, int i ) {
            int ilen = data.length, olen = out.length;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/util/RC4.java

     */
    
    package jcifs.smb1.util;
    
    public class RC4
    {
    
        byte[] s;
        int i, j;
    
        public RC4()
        {
        }
        public RC4(byte[] key)
        {
            init(key, 0, key.length);
        }
    
        public void init(byte[] key, int ki, int klen)
        {
            s = new byte[256];
    
            for (i = 0; i < 256; i++)
                s[i] = (byte)i;
    
    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)
  3. src/main/java/jcifs/util/Crypto.java

        /**
         * 
         * @param key
         * @return RC4 cipher
         */
        public static Cipher getArcfour ( byte[] key ) {
            try {
                Cipher c = Cipher.getInstance("RC4");
                c.init(Cipher.ENCRYPT_MODE, new SecretKeySpec(key, "RC4"));
                return c;
            }
            catch (
                NoSuchAlgorithmException |
                NoSuchPaddingException |
                InvalidKeyException e ) {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Tue Aug 17 17:34:29 GMT 2021
    - 5.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/http/NtlmServlet.java

        private boolean enableBasic;
    
        private boolean insecureBasic;
    
        private String realm;
    
        private CIFSContext transportContext;
    
    
        @Override
        public void init ( ServletConfig config ) throws ServletException {
            super.init(config);
    
            Properties p = new Properties();
            p.putAll(System.getProperties());
            /*
             * Set jcifs properties we know we want; soTimeout and cachePolicy to 10min.
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 7.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/ntlmssp/NtlmFlags.java

         * of NTLMv2 authentication.
         */
        public static final int NTLMSSP_NEGOTIATE_EXTENDED_SESSIONSECURITY = 0x00080000;
    
        /**
         * ?? According to spec this is a reserved bit and must be set to zero
         */
        public static final int NTLMSSP_REQUEST_INIT_RESPONSE = 0x00100000;
    
        /**
         * ?? According to spec this is NTLMSSP_NEGOTIATE_IDENTIFY
         * 
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/context/SingletonContext.java

         * <blockquote>
         * 
         * <pre>
         * Exception MalformedURLException: unknown protocol: smb
         *     at java.net.URL.&lt;init&gt;(URL.java:480)
         *     at java.net.URL.&lt;init&gt;(URL.java:376)
         *     at java.net.URL.&lt;init&gt;(URL.java:330)
         *     at jcifs.smb.SmbFile.&lt;init&gt;(SmbFile.java:355)
         *     ...
         * </pre>
         * 
         * <blockquote>
         * 
         */
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sat Jun 01 08:53:08 GMT 2019
    - 4.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/Config.java

         * <blockquote>
         * 
         * <pre>
         * Exception MalformedURLException: unknown protocol: smb
         *     at java.net.URL.&lt;init&gt;(URL.java:480)
         *     at java.net.URL.&lt;init&gt;(URL.java:376)
         *     at java.net.URL.&lt;init&gt;(URL.java:330)
         *     at jcifs.smb.SmbFile.&lt;init&gt;(SmbFile.java:355)
         *     ...
         * </pre>
         * 
         * <blockquote>
         */
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/http/NtlmServlet.java

        private boolean loadBalance;
    
        private boolean enableBasic;
    
        private boolean insecureBasic;
    
        private String realm;
    
        public void init(ServletConfig config) throws ServletException {
            super.init(config);
    
            /* Set jcifs.smb1 properties we know we want; soTimeout and cachePolicy to 10min.
             */
            Config.setProperty( "jcifs.smb1.smb.client.soTimeout", "300000" );
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 6.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/TransactNamedPipeInputStream.java

                beg_idx = ( beg_idx + 1 ) % pipe_buf.length;
            }
            return result;
        }
        public int read( byte[] b ) throws IOException {
            return read( b, 0, b.length );
        }
        public int read( byte[] b, int off, int len ) throws IOException {
            int result = -1;
            int i;
    
            if( len <= 0 ) {
                return 0;
            }
            synchronized( lock ) {
                try {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 4.6K bytes
    - Viewed (0)
  10. .github/workflows/codeql-analysis.yml

        - run: git checkout HEAD^2
          if: ${{ github.event_name == 'pull_request' }}
    
        # Initializes the CodeQL tools for scanning.
        - name: Initialize CodeQL
          uses: github/codeql-action/init@v1
          with:
            languages: ${{ matrix.language }}
            # If you wish to specify custom queries, you can do so here or in a config file.
    Others
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Oct 02 13:22:07 GMT 2020
    - 2.5K bytes
    - Viewed (0)
Back to top