- Sort Score
- Num 10 results
- Language All
Results 261 - 270 of 339 for 0x01 (0.03 seconds)
-
src/main/java/jcifs/smb1/smb1/SmbComDeleteDirectory.java
return 0; } @Override int writeBytesWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; dst[dstIndex] = (byte) 0x04; dstIndex++; dstIndex += writeString(path, dst, dstIndex); return dstIndex - start; } @Override int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 1.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralTest.java
// Then assertEquals(2, bytesWritten); assertEquals(SmbComTransaction.TRANS2_GET_DFS_REFERRAL, dst[0]); assertEquals((byte) 0x00, dst[1]); } @Test @DisplayName("writeSetupWireFormat should handle different buffer positions") void testWriteSetupWireFormatWithOffset() { // GivenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11K bytes - Click Count (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/CLIReportingUtilsTest.java
import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; @Deprecated class CLIReportingUtilsTest { @Test void testFormatDuration() { assertEquals("0.001 s", CLIReportingUtils.formatDuration(1)); assertEquals("0.999 s", CLIReportingUtils.formatDuration(1000 - 1)); assertEquals("1.000 s", CLIReportingUtils.formatDuration(1000));Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sun Dec 01 19:41:22 GMT 2024 - 1.7K bytes - Click Count (0) -
src/main/java/jcifs/smb1/netbios/Lmhosts.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6K bytes - Click Count (0) -
src/main/java/jcifs/smb/MIEName.java
/** * This class is used to parse the name of context initiator and * context acceptor which are retrieved from GSSContext. * * @author Shun * */ class MIEName { private static byte[] TOK_ID = { 04, 01 }; private static int TOK_ID_SIZE = 2; private static int MECH_OID_LEN_SIZE = 2; private static int NAME_LEN_SIZE = 4; private final ASN1ObjectIdentifier oid; private final String name;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 3.5K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/MessageDeflater.kt
deflatedBytes.readAndWriteUnsafe().use { cursor -> cursor.resizeBuffer(newSize) } } else { // Same as adding EMPTY_DEFLATE_BLOCK and then removing 4 bytes. deflatedBytes.writeByte(0x00) } buffer.write(deflatedBytes, deflatedBytes.size) } @Throws(IOException::class) override fun close() = deflaterSink.close()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 2.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeTest.java
// Assert assertNotNull(trans); assertEquals(0, trans.maxParameterCount); assertEquals(0xFFFF, trans.maxDataCount); assertEquals(0x00, trans.maxSetupCount); assertEquals(2, trans.setupCount); assertEquals("\\PIPE\\", trans.name); } @Test @DisplayName("Test writeSetupWireFormat writes correct data")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.7K bytes - Click Count (0) -
okhttp/src/commonTest/kotlin/okhttp3/internal/IsProbablyUtf8Test.kt
assertThat(Buffer().writeUtf8("Слава Україні!").isProbablyUtf8(16L)).isTrue() assertThat(Buffer().writeByte(0x80).isProbablyUtf8(16L)).isTrue() assertThat(Buffer().writeByte(0x00).isProbablyUtf8(16L)).isFalse() assertThat(Buffer().writeByte(0xc0).isProbablyUtf8(16L)).isFalse() } @Test fun doesNotConsumeBuffer() { val buffer = Buffer() buffer.writeUtf8("hello ".repeat(1024))
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Oct 06 22:47:06 GMT 2025 - 2.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComCreateDirectory.java
return 0; } @Override protected int writeBytesWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; dst[dstIndex] = (byte) 0x04; dstIndex++; dstIndex += writeString(this.path, dst, dstIndex); return dstIndex - start; } @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.2K bytes - Click Count (0) -
src/test/java/jcifs/util/StringsTest.java
System.arraycopy(stringBytes, 0, bufferWithTermination, 0, stringBytes.length); bufferWithTermination[stringBytes.length] = 0x00; bufferWithTermination[stringBytes.length + 1] = 0x00; // When int terminationPos = Strings.findUNITermination(bufferWithTermination, 0, bufferWithTermination.length); // Then
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.6K bytes - Click Count (0)