- Sort Score
- Num 10 results
- Language All
Results 241 - 250 of 1,599 for 1byte (0.02 seconds)
-
android/guava/src/com/google/common/io/LittleEndianDataOutputStream.java
/** * An implementation of {@link DataOutput} that uses little-endian byte ordering for writing {@code * char}, {@code short}, {@code int}, {@code float}, {@code double}, and {@code long} values. * * <p><b>Note:</b> This class intentionally violates the specification of its supertype {@code * DataOutput}, which explicitly requires big-endian byte order. * * @author Chris Nokleberg * @author Keith Bottner * @since 8.0 */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 5.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/PreauthIntegrityTest.java
// Calculate hash Method calcMethod = findMethod(transport.getClass(), "calculatePreauthHash", byte[].class, int.class, int.class, byte[].class); calcMethod.setAccessible(true); byte[] input = "test data".getBytes(); byte[] oldHash = new byte[64]; byte[] newHash = (byte[]) calcMethod.invoke(transport, input, 0, input.length, oldHash); assertNotNull(newHash);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 10.5K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/TransTransactNamedPipe.java
maxParameterCount = 0; maxDataCount = 0xFFFF; maxSetupCount = (byte) 0x00; setupCount = 2; name = "\\PIPE\\"; } @Override int writeSetupWireFormat(final byte[] dst, int dstIndex) { dst[dstIndex] = subCommand; dstIndex++; dst[dstIndex++] = (byte) 0x00; writeInt2(pipeFid, dst, dstIndex); dstIndex += 2; return 4; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 2.8K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 10.9K bytes - Click Count (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 {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.3K bytes - Click Count (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 { @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 4.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java
// Prepare test data with offset int offset = 10; String expectedFilename = "offsetfile.txt"; byte[] buffer = new byte[200 + offset]; byte[] dataBuffer = createValidBuffer(expectedFilename, "OFFSET~1.TXT", true); System.arraycopy(dataBuffer, 0, buffer, offset, dataBuffer.length); // Decode from offsetCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.9K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndX.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 7.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java
void testWriteBytesWireFormat() { byte[] buffer = new byte[1024]; int result = echoResponse.writeBytesWireFormat(buffer, 0); assertEquals(0, result); } @Test @DisplayName("Should handle different buffer positions") void testWriteBytesWireFormatDifferentPositions() { byte[] buffer = new byte[1024];
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.1K bytes - Click Count (0) -
internal/event/name_test.go
testCases := []struct { name Name expectedData []byte expectErr bool }{ {ObjectAccessedAll, []byte("<Name>s3:ObjectAccessed:*</Name>"), false}, {ObjectRemovedDelete, []byte("<Name>s3:ObjectRemoved:Delete</Name>"), false}, {ObjectRemovedNoOP, []byte("<Name>s3:ObjectRemoved:NoOP</Name>"), false}, {blankName, []byte("<Name></Name>"), false}, } for i, testCase := range testCases {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed May 01 01:11:10 GMT 2024 - 7.4K bytes - Click Count (0)