- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 594 for inte (0.2 sec)
-
src/main/java/jcifs/smb1/util/DES.java
deskey(key, false, decryptKeys); } // Turn an 8-byte key into internal keys. private void deskey(final byte[] keyBlock, final boolean encrypting, final int[] KnL) { int i, j, l, m, n; final int[] pc1m = new int[56]; final int[] pcr = new int[56]; final int[] kn = new int[32]; for (j = 0; j < 56; ++j) { l = pc1[j]; m = l & 07;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 22.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/Kerb5ContextTest.java
when(gssContext.getAnonymityState()).thenReturn(true); when(gssContext.getConfState()).thenReturn(true); when(gssContext.getIntegState()).thenReturn(true); int flags = ctx.getFlags(); int expected = NegTokenInit.DELEGATION | NegTokenInit.MUTUAL_AUTHENTICATION | NegTokenInit.REPLAY_DETECTION
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java
"1000, 4096, 4096000" }) void testDecodeCombinations(int chunks, int chunkBytes, int totalBytes) throws SMBProtocolDecodingException { byte[] buffer = createValidCopyChunkResponse(chunks, chunkBytes, totalBytes); int bytesDecoded = response.decode(buffer, 0, buffer.length); assertEquals(12, bytesDecoded);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java
int bytesRead = response.readBytesWireFormat(buffer, 0); assertEquals(16, bytesRead); assertEquals(-1, response.getCount()); // -1 as signed int represents max unsigned value assertEquals(-2, response.getRemaining()); } private byte[] createValidWriteResponse(int count, int remaining) { byte[] buffer = new byte[64];Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java
*/ public class SmbRandomAccessFile implements DataOutput, DataInput { private static final int WRITE_OPTIONS = 0x0842; private final SmbFile file; private long fp; private int openFlags, access = 0; private final int readSize; private final int writeSize; private int ch; private int options = 0; private final byte[] tmp = new byte[8];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/test/java/jcifs/internal/smb2/nego/EncryptionNegotiateContextTest.java
void testEncodeVariousCipherCounts(int cipherCount) { int[] ciphers = new int[cipherCount]; for (int i = 0; i < cipherCount; i++) { ciphers[i] = i + 1; } EncryptionNegotiateContext context = new EncryptionNegotiateContext(mockConfig, ciphers); int bytesWritten = context.encode(buffer, 0);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java
private static byte[] buildIoctlResponseBody(int ctlCode, byte[] fileId, int inputCount, byte[] inputBytes, int outputCount, byte[] outputBytes, int ioctlFlags) { final int headerLen = 64; // SMB2 header is 64 bytes final int bodyFixed = 48; // body size minus 1 for structure size field overlap final int payloadStart = headerLen + bodyFixed; final int bodyLen = bodyFixed + inputCount + outputCount;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileStandardInfoTest.java
byte[] buffer = new byte[30]; // Extra space to test offset int bufferIndex = 5; // Start at offset 5 long expectedAllocationSize = 2048L; long expectedEndOfFile = 1536L; int expectedNumberOfLinks = 5; boolean expectedDeletePending = true; boolean expectedDirectory = true; // Encode test data at offset int offset = bufferIndex;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/rpcTest.java
when(decodeBuffer.dec_ndr_short()).thenReturn((int) originalUuid.time_mid, (int) originalUuid.time_hi_and_version); when(decodeBuffer.dec_ndr_small()).thenReturn((int) originalUuid.clock_seq_hi_and_reserved, (int) originalUuid.clock_seq_low, (int) originalUuid.node[0], (int) originalUuid.node[1], (int) originalUuid.node[2], (int) originalUuid.node[3], (int) originalUuid.node[4], (int) originalUuid.node[5]);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java
addFieldDescs(interfaceClass); final Class<?>[] interfaces = interfaceClass.getInterfaces(); for (final Class<?> intf : interfaces) { setupFieldDescsByInterface(intf); } } /** * Prepares the fields defined in the class. * * @param targetClass * the target class */
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 25.8K bytes - Viewed (1)