- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for bytes (0.89 sec)
-
src/test/java/jcifs/tests/PACTest.java
} else { javaChecksum = sun.security.krb5.internal.crypto.Aes256.calculateChecksum(keybytes, usage, bytes, 0, bytes.length); } byte[] mac = PacMac.calculateMacHMACAES(usage, makeKey(keybytes, keybytes.length == 16 ? 17 : 18), bytes); checkBytes(javaChecksum, mac); checkBytes(Hex.decode(expect), mac); }
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Oct 01 12:01:17 GMT 2023 - 22.3K bytes - Viewed (0) -
src/test/java/jcifs/tests/EnumTest.java
// + 8 byte query response overhead // + 110 bytes entry // -> 1022 predicted message size <= 1023 maximum buffer size // 112 bytes to alignment // -> aligned to 1024 > 1023 maximum buffer size // 110 byte entry = 16 byte name = 8 char length try ( SmbResource r = f.resolve(repeat('Y', 8)) ) { r.createNewFile();
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Thu Jan 05 13:09:03 GMT 2023 - 25.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Mon Nov 28 10:56:27 GMT 2022 - 14.3K bytes - Viewed (0) -
src/main/java/jcifs/spnego/NegTokenInit.java
public NegTokenInit ( ASN1ObjectIdentifier[] mechanisms, int contextFlags, byte[] mechanismToken, byte[] mechanismListMIC ) { setMechanisms(mechanisms); setContextFlags(contextFlags); setMechanismToken(mechanismToken); setMechanismListMIC(mechanismListMIC); } public NegTokenInit ( byte[] token ) throws IOException { parse(token); }
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Oct 01 12:01:17 GMT 2023 - 7.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
} /** * Returns the length of this <tt>SmbFile</tt> in bytes. If this object * is a <tt>TYPE_SHARE</tt> the total capacity of the disk shared in * bytes is returned. If this object is a directory or a type other than * <tt>TYPE_SHARE</tt>, 0L is returned. * * @return The length of the file in bytes or 0 if this * <code>SmbFile</code> is not a file. * @throws SmbException */
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Mon Mar 13 12:00:57 GMT 2023 - 107.9K bytes - Viewed (2) -
src/main/java/jcifs/util/Strings.java
/** * * @param str * @return the string as bytes (ASCII) */ public static byte[] getASCIIBytes ( String str ) { return getBytes(str, ASCII_ENCODING); } /** * @param str * @param config * @return the string as bytes */ public static byte[] getOEMBytes ( String str, Configuration config ) { if ( str == null ) {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Mon Mar 13 12:00:57 GMT 2023 - 4.9K bytes - Viewed (0) -
src/main/java/jcifs/config/BaseConfiguration.java
this.localPid = (int) ( Math.random() * 65536d ); this.localTimeZone = TimeZone.getDefault(); this.random = new SecureRandom(); if ( this.machineId == null ) { byte[] mid = new byte[32]; this.random.nextBytes(mid); this.machineId = mid; } if ( this.nativeOs == null ) { this.nativeOs = System.getProperty("os.name"); }
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Thu Jan 05 13:06:39 GMT 2023 - 20.4K bytes - Viewed (1) -
src/main/java/jcifs/pac/ASN1Util.java
* * BC no longer seems to allow that out of the box * * @param expectTag * @param in * @return coded bytes of the tagged object * @throws IOException */ public static byte[] readUnparsedTagged(int expectTag, int limit, ASN1InputStream in) throws IOException { int ftag = in.read(); int tag = readTagNumber(in, ftag);
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Mon Oct 02 12:02:06 GMT 2023 - 6.5K bytes - Viewed (0) -
src/main/java/jcifs/Configuration.java
* * @return receive buffer size, in bytes * @deprecated use getReceiveBufferSize instead */ @Deprecated int getRecieveBufferSize (); /** * * Property <tt>jcifs.smb.client.rcv_buf_size</tt> (int, default 65535) * * @return receive buffer size, in bytes */ int getReceiveBufferSize (); /** *
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Thu Jan 05 13:06:39 GMT 2023 - 18K bytes - Viewed (0)