- Sort Score
- Result 10 results
- Languages All
Results 331 - 340 of 1,385 for BYTE (0.02 sec)
-
src/test/java/jcifs/tests/persistent/DurableHandleContextTest.java
assertEquals(60000, request.getTimeoutMs()); assertFalse(request.isPersistent()); } @Test public void testDurableHandleReconnect() { byte[] fileId = new byte[16]; for (int i = 0; i < 16; i++) { fileId[i] = (byte) (i + 1); } DurableHandleReconnect reconnect = new DurableHandleReconnect(fileId); assertEquals("DHnC", new String(reconnect.getName()));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 4.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponseTest.java
dst[dstIndex++] = (byte) (val >> 24); } private void writeInt8(long val, byte[] dst, int dstIndex) { dst[dstIndex++] = (byte) val; dst[dstIndex++] = (byte) (val >> 8); dst[dstIndex++] = (byte) (val >> 16); dst[dstIndex++] = (byte) (val >> 24); dst[dstIndex++] = (byte) (val >> 32); dst[dstIndex++] = (byte) (val >> 40); dst[dstIndex++] = (byte) (val >> 48);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/CommonServerMessageBlockTest.java
} @Test @DisplayName("Test decode method with valid buffer") void testDecodeWithValidBuffer() throws SMBProtocolDecodingException { // Given byte[] buffer = new byte[256]; int bufferIndex = 0; int expectedLength = 100; when(messageBlock.decode(buffer, bufferIndex)).thenReturn(expectedLength); // WhenRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/ServerDataTest.java
assertNull(serverData.guid); } /** * Test setting and getting byte field (sflags) */ @ParameterizedTest @ValueSource(bytes = { 0x00, 0x01, 0x7F, (byte) 0x80, (byte) 0xFF }) @DisplayName("Test sflags field with various byte values") public void testSflagsField(byte value) { // When serverData.sflags = value; // Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/ArrayUtil.java
} /** * Returns a new array with the specified byte value appended to the end of the byte array. * * @param array * the array. Must not be {@literal null} * @param value * the value to add * @return a new array with the value appended */ public static byte[] add(final byte[] array, final byte value) { assertArgumentNotNull("array", array);Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 41.5K bytes - Viewed (0) -
src/archive/tar/writer_test.go
indices := []int{ bytes.Index(buf.Bytes(), []byte("bar=bar")), bytes.Index(buf.Bytes(), []byte("baz=baz")), bytes.Index(buf.Bytes(), []byte("foo=foo")), bytes.Index(buf.Bytes(), []byte("qux=qux")), } if !slices.IsSorted(indices) { t.Fatal("PAX headers are not sorted") } } func TestUSTARLongName(t *testing.T) {Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Feb 03 16:38:43 UTC 2025 - 39.8K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/io/BaseEncodingBenchmark.java
@Param({"10", "100", "10000"}) int n; private final byte[][] encodingInputs = new byte[INPUTS_COUNT][]; private final String[] decodingInputs = new String[INPUTS_COUNT]; @BeforeExperiment public void setUp() { Random rng = new Random(); for (int i = 0; i < encodingInputs.length; i++) { encodingInputs[i] = new byte[n]; rng.nextBytes(encodingInputs[i]);Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 3.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/SessionServicePacket.java
static void writeInt2(final int val, final byte[] dst, int dstIndex) { dst[dstIndex] = (byte) (val >> 8 & 0xFF); dstIndex++; dst[dstIndex] = (byte) (val & 0xFF); } static void writeInt4(final int val, final byte[] dst, int dstIndex) { dst[dstIndex] = (byte) (val >> 24 & 0xFF); dstIndex++; dst[dstIndex++] = (byte) (val >> 16 & 0xFF);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacSignatureTest.java
writeLittleEndianInt(baos, PacSignature.KERB_CHECKSUM_HMAC_MD5); byte[] checksum = new byte[16]; for (int i = 0; i < checksum.length; i++) { checksum[i] = (byte) i; } baos.write(checksum); byte[] data = baos.toByteArray(); // Create PacSignature PacSignature pacSignature = new PacSignature(data);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java
byte[] buffer = new byte[10]; int bytesWritten = echoRequest.writeBytesWireFormat(buffer, 0); assertEquals(4, bytesWritten); assertEquals(4, SMBUtil.readInt2(buffer, 0)); } @Test @DisplayName("Should handle maximum offset") void testWriteBytesAtMaxOffset() { byte[] buffer = new byte[1000];Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0)