- Sort Score
- Result 10 results
- Languages All
Results 361 - 370 of 1,693 for byte2 (0.02 sec)
-
src/main/java/jcifs/internal/smb2/persistent/DurableHandleReconnect.java
private static final byte[] CONTEXT_NAME_BYTES = CONTEXT_NAME.getBytes(); private static final int STRUCTURE_SIZE = 16; private byte[] fileId; // 16-byte file ID from previous open /** * Create a new durable handle reconnect context * @param fileId the 16-byte file ID from the previous open */ public DurableHandleReconnect(byte[] fileId) { if (fileId.length != 16) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/ByteSinkTester.java
String name, ByteSinkFactory factory, String desc, byte[] bytes) { TestSuite suite = new TestSuite(name + " [" + desc + "]"); for (Method method : testMethods) { suite.addTest(new ByteSinkTester(factory, bytes, name, desc, method)); } return suite; } private ByteSink sink; ByteSinkTester( ByteSinkFactory factory, byte[] data, String suiteName, String caseDesc, Method method) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/ByteSinkTester.java
String name, ByteSinkFactory factory, String desc, byte[] bytes) { TestSuite suite = new TestSuite(name + " [" + desc + "]"); for (Method method : testMethods) { suite.addTest(new ByteSinkTester(factory, bytes, name, desc, method)); } return suite; } private ByteSink sink; ByteSinkTester( ByteSinkFactory factory, byte[] data, String suiteName, String caseDesc, Method method) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4K bytes - Viewed (0) -
cmd/object-handlers_test.go
rangeHdrs := []string{ // Read first byte of object fmt.Sprintf("bytes=%d-%d", 0, 0), // Read second byte of object fmt.Sprintf("bytes=%d-%d", 1, 1), // Read last byte of object fmt.Sprintf("bytes=-%d", 1), // Read all but first byte of object "bytes=1-", // Read first half of object fmt.Sprintf("bytes=%d-%d", 0, objLen/2), // Read last half of object
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 163.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NtlmChallengeTest.java
@DisplayName("Hex Conversion Tests") class HexConversionTests { @Test @DisplayName("Various byte values are converted to uppercase hex") void testHexConversion() { byte[] challenge = new byte[] { (byte) 0x00, (byte) 0x0F, (byte) 0x10, (byte) 0x7F, (byte) 0x80, (byte) 0xFF }; UniAddress dc = mock(UniAddress.class); when(dc.toString()).thenReturn("DC");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComOpenAndXResponseTest.java
@Test void testWriteBytesWireFormat() { byte[] dst = new byte[1024]; int result = response.writeBytesWireFormat(dst, 0); // The method should write bytes assertEquals(0, result, "writeBytesWireFormat should return 0 for response"); } @Test void testReadBytesWireFormat() { byte[] buffer = new byte[1024]; int result = response.readBytesWireFormat(buffer, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.2K bytes - Viewed (0) -
cmd/os_unix.go
// By default at least 128 entries in single getdents call (1MiB buffer) var ( direntPool = bpool.Pool[*[]byte]{ New: func() *[]byte { buf := make([]byte, blockSize*128) return &buf }, } direntNamePool = bpool.Pool[*[]byte]{ New: func() *[]byte { buf := make([]byte, blockSize) return &buf }, } ) // unexpectedFileMode is a sentinel (and bogus) os.FileMode
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java
@DisplayName("Test writeUTime with zero time") void testWriteUTimeWithZeroTime() { byte[] dst = new byte[4]; SMB1SigningDigest.writeUTime(mockConfig, 0L, dst, 0); assertEquals((byte) 0xFF, dst[0]); assertEquals((byte) 0xFF, dst[1]); assertEquals((byte) 0xFF, dst[2]); assertEquals((byte) 0xFF, dst[3]); } @Test @DisplayName("Test writeUTime with max time")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/rpc.java
// Default constructor } /** The revision level of the SID structure */ public byte revision; /** The number of sub-authorities in the SID */ public byte sub_authority_count; /** The identifier authority value (6 bytes) */ public byte[] identifier_authority; /** The array of sub-authority values */ public int[] sub_authority;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.3K bytes - Viewed (0) -
cmd/test-utils_test.go
return nil, nil, fmt.Errorf("Failed to create certificate: %w", err) } certOut := bytes.NewBuffer([]byte{}) pem.Encode(certOut, &pem.Block{Type: "CERTIFICATE", Bytes: derBytes}) keyOut := bytes.NewBuffer([]byte{}) pem.Encode(keyOut, pemBlockForKey(priv)) return certOut.Bytes(), keyOut.Bytes(), nil } func mustGetPoolEndpoints(poolIdx int, args ...string) EndpointServerPools {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 77K bytes - Viewed (0)