- Sort Score
- Result 10 results
- Languages All
Results 391 - 400 of 1,386 for Byte (0.04 sec)
-
android/guava-tests/test/com/google/common/base/Utf8Test.java
private static final long EXPECTED_THREE_BYTE_ROUNDTRIPPABLE_COUNT = // All one byte characters (long) Math.pow(EXPECTED_ONE_BYTE_ROUNDTRIPPABLE_COUNT, 3) + // One two byte character and a one byte character 2 * TWO_BYTE_ROUNDTRIPPABLE_CHARACTERS * ONE_BYTE_ROUNDTRIPPABLE_CHARACTERS + // Three byte characters THREE_BYTE_ROUNDTRIPPABLE_CHARACTERS;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java
long endOfFile = 0x1234567890ABCDEFL; FileEndOfFileInformation info = new FileEndOfFileInformation(endOfFile); // Encode multiple times to verify consistency byte[] buffer1 = new byte[8]; byte[] buffer2 = new byte[8]; int bytes1 = info.encode(buffer1, 0); int bytes2 = info.encode(buffer2, 0); assertEquals(8, bytes1); assertEquals(8, bytes2);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (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);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.7K bytes - Viewed (0) -
cmd/erasure-server-pool-rebalance_gen.go
// MarshalMsg implements msgp.Marshaler func (z rebalanceMetrics) MarshalMsg(b []byte) (o []byte, err error) { o = msgp.Require(b, z.Msgsize()) // map header, size 0 _ = z o = append(o, 0x80) return } // UnmarshalMsg implements msgp.Unmarshaler func (z *rebalanceMetrics) UnmarshalMsg(bts []byte) (o []byte, err error) { var field []byte _ = field var zb0001 uint32
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Mar 21 17:21:35 UTC 2024 - 26.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java
// Construct a minimal wire format buffer byte[] buf = new byte[32]; int idx = 0; // Write values little-endian buf[idx++] = 5; // totalParameterCount low byte buf[idx++] = 0; // totalParameterCount high byte -> value 5 buf[idx++] = 3; // totalDataCount low buf[idx++] = 0; // totalDataCount high idx += 2; // 2-byte reserved field (not 4 as the code shows)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java
* Encode this interface info for FSCTL_QUERY_NETWORK_INTERFACE_INFO response * * @return encoded bytes */ public byte[] encode() { // NETWORK_INTERFACE_INFO structure per MS-SMB2 2.2.32.5.1 // Total size: 152 bytes byte[] buffer = new byte[Smb2ChannelCapabilities.NETWORK_INTERFACE_INFO_SIZE]; ByteBuffer bb = ByteBuffer.wrap(buffer).order(ByteOrder.LITTLE_ENDIAN);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 9.8K bytes - Viewed (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; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2LogoffRequestTest.java
assertEquals(expected, actual, "size() must be 8-byte aligned"); } @ParameterizedTest @ValueSource(ints = { 0, 1, 5 }) @DisplayName("writeBytesWireFormat writes StructureSize=4 and Reserved=0 at given offset") void writeBytesWireFormat_writesExpectedValuesAtOffset(int offset) { // Arrange Smb2LogoffRequest req = newRequest(); byte[] buf = new byte[offset + 8]; // extra space for safety
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NetShareEnum.java
maxSetupCount = (byte) 0x00; setupCount = 0; timeout = 5000; } @Override int writeSetupWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override 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: Thu Aug 14 07:14:38 UTC 2025 - 2.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/NumberConversionUtil.java
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 5.6K bytes - Viewed (0)