- Sort Score
- Num 10 results
- Language All
Results 251 - 260 of 1,599 for 1byte (0.22 seconds)
-
guava-tests/test/com/google/common/io/ByteSourceTester.java
})); } public void testRead_usingByteProcessor() throws IOException { byte[] readBytes = source.read( new ByteProcessor<byte[]>() { final ByteArrayOutputStream out = new ByteArrayOutputStream(); @Override public boolean processBytes(byte[] buf, int off, int len) throws IOException { out.write(buf, off, len);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 8.6K bytes - Click Count (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;Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Jul 05 00:11:05 GMT 2025 - 8.8K bytes - Click Count (0) -
src/main/java/jcifs/smb/NtlmPasswordAuthentication.java
*/ @Override public void getUserSessionKey(final CIFSContext tc, final byte[] chlng, final byte[] dest, final int offset) throws SmbException { if (this.hashesExternal) { return; } super.getUserSessionKey(tc, chlng, dest, offset); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 9.3K bytes - Click Count (0) -
src/test/java/jcifs/smb1/util/Base64Test.java
*/ static Stream<Arguments> decodeProvider() { return Stream.of(Arguments.of("", new byte[0]), Arguments.of("QQ==", new byte[] { (byte) 0x41 }), // "A" Arguments.of("QUI=", new byte[] { (byte) 0x41, (byte) 0x42 }), // "AB" Arguments.of("TWFu", "Man".getBytes()), Arguments.of("AAAA", new byte[] { (byte) 0x00, (byte) 0x00, (byte) 0x00 }), // all zerosCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/rpc.java
* The high field of the clock sequence multiplexed with the variant. */ public byte clock_seq_hi_and_reserved; /** * The low field of the clock sequence. */ public byte clock_seq_low; /** * The spatially unique node identifier (6 bytes). */ public byte[] node; @Override public void encode(NdrBuffer _dst) throws NdrException {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 11.2K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/Trans2QueryPathInformation.java
dstIndex += 2; dst[dstIndex] = (byte) 0x00; dstIndex++; dst[dstIndex++] = (byte) 0x00; dst[dstIndex++] = (byte) 0x00; dst[dstIndex++] = (byte) 0x00; dstIndex += writeString(path, dst, dstIndex); return dstIndex - start; } @Override int writeDataWireFormat(final byte[] dst, final int dstIndex) { return 0; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 2.7K bytes - Click Count (0) -
src/main/java/jcifs/util/Crypto.java
* @param key * 7-byte "raw" DES key * @return 8-byte DES key with parity */ static byte[] des7to8(final byte[] key) { final byte key8[] = new byte[8]; key8[0] = (byte) (key[0] & 0xFE); key8[1] = (byte) (key[0] << 7 | (key[1] & 0xFF) >>> 1); key8[2] = (byte) (key[1] << 6 | (key[2] & 0xFF) >>> 2); key8[3] = (byte) (key[2] << 5 | (key[3] & 0xFF) >>> 3);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java
// Test with file ID having maximum byte values byte[] maxFileId = new byte[16]; Arrays.fill(maxFileId, (byte) 0xFF); Smb2CloseRequest maxRequest = new Smb2CloseRequest(mockConfig, maxFileId, testFileName); byte[] buffer = new byte[256]; int written = maxRequest.writeBytesWireFormat(buffer, 0); assertEquals(24, written); byte[] copiedFileId = new byte[16];Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/witness/WitnessUnregisterMessage.java
*/ public WitnessUnregisterMessage(byte[] contextHandle) { super(WITNESS_UNREGISTER); this.contextHandle = contextHandle != null ? contextHandle.clone() : new byte[20]; } /** * Sets the context handle for unregistration. * * @param contextHandle the context handle from registration */ public void setContextHandle(byte[] contextHandle) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 09:06:40 GMT 2025 - 3.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/NtlmUtilTest.java
// Arrange byte[] key14 = hex("01020304050607 11121314151617"); // two 7-byte chunks byte[] key7 = Arrays.copyOfRange(key14, 0, 7); byte[] data8 = NtlmUtil.S8; byte[] out14 = new byte[16]; byte[] out7 = new byte[8]; // Act NtlmUtil.E(key14, data8, out14); NtlmUtil.E(key7, data8, out7); // Assert: first block identical to single-chunk encryptionCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 12K bytes - Click Count (1)