- Sort Score
- Result 10 results
- Languages All
Results 341 - 350 of 1,385 for 1byte (0.04 sec)
-
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/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/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/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) -
src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Response.java
} @Override protected int writeSetupWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override protected int writeParametersWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override protected int writeDataWireFormat(final byte[] dst, final int dstIndex) { return 0; } @OverrideRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.2K bytes - Viewed (0) -
cmd/batch-rotate_gen.go
} // MarshalMsg implements msgp.Marshaler func (z BatchKeyRotationType) MarshalMsg(b []byte) (o []byte, err error) { o = msgp.Require(b, z.Msgsize()) o = msgp.AppendString(o, string(z)) return } // UnmarshalMsg implements msgp.Unmarshaler func (z *BatchKeyRotationType) UnmarshalMsg(bts []byte) (o []byte, err error) { { var zb0001 string zb0001, bts, err = msgp.ReadStringBytes(bts)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sat Dec 02 10:51:33 UTC 2023 - 27.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndX.java
batchLimits[2] = Byte.parseByte(s); } if ((s = Config.getProperty("jcifs.smb1.smb.client.TreeConnectAndX.Delete")) != null) { batchLimits[3] = Byte.parseByte(s); } if ((s = Config.getProperty("jcifs.smb1.smb.client.TreeConnectAndX.DeleteDirectory")) != null) { batchLimits[4] = Byte.parseByte(s); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 6.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralTest.java
// Test with minimum size buffer byte[] smallBuffer = new byte[2]; assertEquals(2, trans2GetDfsReferral.writeSetupWireFormat(smallBuffer, 0)); // Test with exact size buffer byte[] exactBuffer = new byte[2]; assertEquals(2, trans2GetDfsReferral.writeSetupWireFormat(exactBuffer, 0)); // Test read methods with empty buffer byte[] emptyBuffer = new byte[0];Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java
trans2QueryPathInfo = new Trans2QueryPathInformation(config, TEST_FILENAME, TEST_INFO_LEVEL); // Test complete wire format writing byte[] setupBuffer = new byte[256]; byte[] paramBuffer = new byte[512]; byte[] dataBuffer = new byte[256]; int setupWritten = trans2QueryPathInfo.writeSetupWireFormat(setupBuffer, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NameQueryRequest.java
} @Override int writeBodyWireFormat(final byte[] dst, final int dstIndex) { return writeQuestionSectionWireFormat(dst, dstIndex); } @Override int readBodyWireFormat(final byte[] src, final int srcIndex) { return readQuestionSectionWireFormat(src, srcIndex); } @Override int writeRDataWireFormat(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 - 1.7K bytes - Viewed (0)