- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 230 for ilen (7.92 sec)
-
src/main/java/jcifs/pac/PacMac.java
int ilen = data.length, olen = out.length; int msbit = ((ilen << 3) - 1 + ((ilen << 3) + 13) * (i / ilen) + (ilen - i % ilen << 3)) % (ilen << 3); int mshigh = msbit >>> 3, mslow = msbit & 7; int b = c + (out[i % olen] & 0xff) + (((data[(ilen - 1 - mshigh) % ilen] & 0xff) << 8 | data[(ilen - mshigh) % ilen] & 0xff) >>> mslow + 1 & 0xff);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java
} @Override public final void writeChars(final String s) throws SmbException { final int clen = s.length(); final int blen = 2 * clen; final byte[] b = new byte[blen]; final char[] c = new char[clen]; s.getChars(0, clen, c, 0); for (int i = 0, j = 0; i < clen; i++) { b[j] = (byte) (c[i] >>> 8); j++; b[j++] = (byte) (c[i] >>> 0);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 14.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbRandomAccessFile.java
} @Override public final void writeChars(final String s) throws SmbException { final int clen = s.length(); final int blen = 2 * clen; final byte[] b = new byte[blen]; final char[] c = new char[clen]; s.getChars(0, clen, c, 0); for (int i = 0, j = 0; i < clen; i++) { b[j] = (byte) (c[i] >>> 8); j++; b[j++] = (byte) (c[i] >>> 0);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 18.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/RC4.java
* @param ki the starting offset in the key array * @param klen the length of the key to use */ public void init(final byte[] key, final int ki, final int klen) { s = new byte[256]; for (i = 0; i < 256; i++) { s[i] = (byte) i; } for (i = j = 0; i < 256; i++) { j = j + key[ki + i % klen] + s[i] & 0xff; final byte t = s[i]; s[i] = s[j];Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/MimeMap.java
in = new byte[IN_SIZE]; final InputStream is = getClass().getClassLoader().getResourceAsStream("jcifs/smb1/util/mime.map"); inLen = 0; while ((n = is.read(in, inLen, IN_SIZE - inLen)) != -1) { inLen += n; } if (inLen < 100 || inLen == IN_SIZE) { throw new IOException("Error reading jcifs/smb1/util/mime.map resource"); } is.close(); } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.1K bytes - Viewed (0) -
src/main/java/jcifs/util/Strings.java
*/ public static int findUNITermination(final byte[] buffer, final int bufferIndex, final int maxLen) { int len = 0; while (buffer[bufferIndex + len] != (byte) 0x00 || buffer[bufferIndex + len + 1] != (byte) 0x00) { len += 2; if (len > maxLen) { if (log.isDebugEnabled()) { log.warn("Failed to find string termination with max length " + maxLen);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.5K bytes - Viewed (0) -
src/main/java/jcifs/util/ByteEncodable.java
private final int off; private final int len; /** * Constructs a ByteEncodable object wrapping a byte array segment. * * @param b the byte array to wrap * @param off the offset in the byte array * @param len the length of the segment to use */ public ByteEncodable(final byte[] b, final int off, final int len) { this.bytes = b; this.off = off;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java
} /** * Reads up to len bytes of data from this input stream into an array of bytes. * * @throws IOException if a network error occurs */ @Override public int read(final byte[] b, final int off, final int len) throws IOException { return readDirect(b, off, len); } /** * Reads up to len bytes of data from this input stream into an array of bytes.Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 9.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/MIEName.java
if (buf.length < i + len) { throw new IllegalArgumentException(); } final byte[] bo = new byte[len]; System.arraycopy(buf, i, bo, 0, len); i += len; this.oid = ASN1ObjectIdentifier.getInstance(bo); // NAME_LEN if (buf.length < i + NAME_LEN_SIZE) { throw new IllegalArgumentException(); } len = 0xff000000 & buf[i++] << 24;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/UnicodeString.java
public UnicodeString(final String str, final boolean zterm) { this.zterm = zterm; final int len = str.length(); final int zt = zterm ? 1 : 0; length = maximum_length = (short) ((len + zt) * 2); buffer = new short[len + zt]; int i; for (i = 0; i < len; i++) { buffer[i] = (short) str.charAt(i); } if (zterm) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.7K bytes - Viewed (0)