Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for makeKey (0.05 sec)

  1. src/test/java/jcifs/tests/PACTest.java

            }
    
            byte[] mac = PacMac.calculateMacArcfourHMACMD5(usage, makeKey(keybytes, 23), bytes);
            checkBytes(javaChecksum, mac);
            checkBytes(Hex.decode(expect), mac);
        }
    
    
        /**
         * @param keybytes
         * @return
         */
        private static KerberosKey makeKey ( byte[] keybytes, int etype ) {
            return new KerberosKey(null, keybytes, etype, 0);
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Oct 01 12:01:17 UTC 2023
    - 22.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/transport/Transport.java

        }
    
    
        /**
         * @return the number of known usages
         */
        protected long getUsageCount () {
            return this.usageCount.get();
        }
    
    
        protected abstract long makeKey ( Request request ) throws IOException;
    
    
        protected abstract Long peekKey () throws IOException;
    
    
        protected abstract void doSend ( Request request ) throws IOException;
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 01 18:12:21 UTC 2020
    - 24.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                in.close();
                socket.close();
            } finally {
                digest = null;
                socket = null;
                tconHostName = null;
            }
        }
    
        protected void makeKey( Request request ) throws IOException {
            /* The request *is* the key */
            if (++mid == 32000) mid = 1;
            ((ServerMessageBlock)request).mid = mid;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 31.2K bytes
    - Viewed (0)
  4. src/archive/tar/writer_test.go

    	)
    
    	type (
    		makeReg struct {
    			size    int64
    			wantStr string
    		}
    		makeSparse struct {
    			makeReg makeReg
    			sph     sparseHoles
    			size    int64
    		}
    		fileMaker any // makeReg | makeSparse
    	)
    
    	vectors := []struct {
    		maker fileMaker
    		tests []testFnc
    	}{{
    		maker: makeReg{0, ""},
    		tests: []testFnc{
    			testRemaining{0, 0},
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  5. src/archive/tar/reader_test.go

    	)
    
    	type (
    		makeReg struct {
    			str  string
    			size int64
    		}
    		makeSparse struct {
    			makeReg makeReg
    			spd     sparseDatas
    			size    int64
    		}
    		fileMaker any // makeReg | makeSparse
    	)
    
    	vectors := []struct {
    		maker fileMaker
    		tests []testFnc
    	}{{
    		maker: makeReg{"", 0},
    		tests: []testFnc{
    			testRemaining{0, 0},
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 03 15:48:09 UTC 2024
    - 46.9K bytes
    - Viewed (0)
Back to top