- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 1,352 for 1byte (2 sec)
-
src/test/java/jcifs/pac/kerberos/KerberosTicketTest.java
* @param encryptedData Encrypted data * @param unknownTag Optional unknown tag number to test error handling * @return A byte array representing the ticket * @throws IOException on encoding error */ private byte[] createTestTicketBytes(Number version, String realm, String principalName, int encType, byte[] encryptedData, Integer unknownTag) throws IOException { ASN1EncodableVector v = new ASN1EncodableVector();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/text/Tokenizer.java
private static final int NEED_CHAR = Integer.MAX_VALUE; private static final int QUOTE = '\''; private static final byte CT_WHITESPACE = 1; private static final byte CT_ALPHA = 4; private final byte[] ctype; private static byte[] defaultCtype = new byte[256]; private final String str; private int colno = 0; private int ttype = TT_NOTHING; private String sval;
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat Jul 05 00:11:05 UTC 2025 - 8.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComReadAndXResponseTest.java
assertTrue(result.contains("dataOffset=54")); } // Helper method to write a 2-byte integer to a byte array private void writeInt2(int val, byte[] dst, int dstIndex) { dst[dstIndex] = (byte) val; dst[dstIndex + 1] = (byte) (val >> 8); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/HMACT64.java
private static final int BLOCK_LENGTH = 64; private static final byte IPAD = (byte) 0x36; private static final byte OPAD = (byte) 0x5c; private MessageDigest md5; private byte[] ipad = new byte[BLOCK_LENGTH]; private byte[] opad = new byte[BLOCK_LENGTH]; /** * Creates an HMACT64 instance which uses the given secret key material. *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.6K bytes - Viewed (0) -
src/main/java/jcifs/util/HMACT64.java
private static final int BLOCK_LENGTH = 64; private static final byte IPAD = (byte) 0x36; private static final byte OPAD = (byte) 0x5c; private final MessageDigest md5; private byte[] ipad = new byte[BLOCK_LENGTH]; private byte[] opad = new byte[BLOCK_LENGTH]; /** * Creates an HMACT64 instance which uses the given secret key material. *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.6K bytes - Viewed (0) -
src/test/java/jcifs/EncodableTest.java
Arguments.of(makeSeq(16), 0, 0, 5) // zero-length with non-zero dst index ); } // Creates a deterministic byte sequence [0,1,2,...,n-1] private static byte[] makeSeq(int n) { byte[] a = new byte[n]; for (int i = 0; i < n; i++) { a[i] = (byte) i; } return a; } @ParameterizedTest @MethodSource("byteEncodableArgs")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java
// First decode to set internal state byte[] sourceBuffer = new byte[8]; long expectedIndexNumber = 0x0123456789ABCDEFL; SMBUtil.writeInt8(expectedIndexNumber, sourceBuffer, 0); fileInternalInfo.decode(sourceBuffer, 0, sourceBuffer.length); // Now test encode byte[] destinationBuffer = new byte[8]; int bytesEncoded = fileInternalInfo.encode(destinationBuffer, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/net/NetShareEnum.java
this.maxSetupCount = (byte) 0x00; this.setupCount = 0; this.timeout = 5000; } @Override protected int writeSetupWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override protected int writeParametersWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; byte[] descr; try {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSetInformationResponseTest.java
} @ParameterizedTest @ValueSource(ints = { 0, 5, 9 }) @DisplayName("Returns 0 with valid array and various indices") void nonNullArray(int index) { byte[] arr = new byte[10]; assertEquals(0, response.writeParameterWordsWireFormat(arr, index)); } } @Nested @DisplayName("writeBytesWireFormat tests") class WriteBytes { @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0)