- Sort Score
- Result 10 results
- Languages All
Results 331 - 340 of 1,085 for bytesA (0.08 sec)
-
src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java
void testLongFileId() { byte[] longFileId = new byte[32]; new SecureRandom().nextBytes(longFileId); request.setFileId(longFileId); request.setData(new byte[10], 0, 10); byte[] buffer = new byte[256]; int bytesWritten = request.writeBytesWireFormat(buffer, 0); // Should only copy first 16 bytes
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.4K bytes - Viewed (0) -
cmd/object-handlers-common_test.go
expectedCode: 304, }, } for _, tc := range testCases { t.Run(tc.name, func(t *testing.T) { recorder := httptest.NewRecorder() request := httptest.NewRequest(http.MethodHead, "/bucket/a", bytes.NewReader([]byte{})) request.Header.Set(xhttp.IfNoneMatch, tc.ifNoneMatch) request.Header.Set(xhttp.IfModifiedSince, tc.ifModifiedSince) request.Header.Set(xhttp.IfMatch, tc.ifMatch)Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Apr 09 14:28:39 UTC 2025 - 5.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/Base64Test.java
*/ static Stream<Arguments> decodeProvider() { return Stream.of(Arguments.of("", new byte[0]), Arguments.of("QQ==", new byte[] { (byte) 0x41 }), // "A" Arguments.of("QUI=", new byte[] { (byte) 0x41, (byte) 0x42 }), // "AB" Arguments.of("TWFu", "Man".getBytes()), Arguments.of("AAAA", new byte[] { (byte) 0x00, (byte) 0x00, (byte) 0x00 }), // all zerosRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java
byte[] testSessionKey = new byte[16]; Arrays.fill(testSessionKey, (byte) 0xAA); byte[] testPreauth = new byte[64]; Arrays.fill(testPreauth, (byte) 0xBB); // When byte[] signingKey300 = Smb3KeyDerivation.deriveSigningKey(Smb2Constants.SMB2_DIALECT_0300, testSessionKey, testPreauth);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.5K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosPacAuthData.java
private Pac pac; /** * Constructs KerberosPacAuthData from token bytes. * * @param token the PAC token bytes * @param keys map of Kerberos keys indexed by key type * @throws PACDecodingException if PAC decoding fails */ public KerberosPacAuthData(byte[] token, Map<Integer, KerberosKey> keys) throws PACDecodingException { this.pac = new Pac(token, keys); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaConnection.java
* * @param buffer buffer to read data into * @param remoteAddress remote memory address for RDMA read * @param remoteKey remote memory key * @param length number of bytes to read * @return number of bytes actually read * @throws IOException if read operation fails */ public abstract int read(ByteBuffer buffer, long remoteAddress, int remoteKey, int length) throws IOException; /**Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 8.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java
public void testBytes() { Sink sink = new Sink(4); // byte order insignificant here byte[] expected = {1, 2, 3, 4, 5, 6, 7, 8}; sink.putByte((byte) 1); sink.putBytes(new byte[] {2, 3, 4, 5, 6}); sink.putByte((byte) 7); sink.putBytes(new byte[] {}); sink.putBytes(new byte[] {8}); HashCode unused = sink.hash(); sink.assertInvariants(8); sink.assertBytes(expected);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 8.5K bytes - Viewed (0) -
src/test/java/jcifs/tests/persistent/HandleGuidTest.java
assertEquals(16, guid2.toBytes().length); } @Test public void testHandleGuidRoundTrip() { HandleGuid original = new HandleGuid(); byte[] bytes = original.toBytes(); HandleGuid reconstructed = new HandleGuid(bytes); assertEquals(original, reconstructed); assertEquals(original.toString(), reconstructed.toString());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 2.4K bytes - Viewed (0) -
cmd/metrics-v3-cluster-health.go
"Total cluster raw storage capacity in bytes") healthCapacityRawFreeBytesMD = NewGaugeMD(healthCapacityRawFreeBytes, "Total cluster raw storage free in bytes") healthCapacityUsableTotalBytesMD = NewGaugeMD(healthCapacityUsableTotalBytes, "Total cluster usable storage capacity in bytes") healthCapacityUsableFreeBytesMD = NewGaugeMD(healthCapacityUsableFreeBytes,
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Mar 10 09:15:15 UTC 2024 - 3.9K bytes - Viewed (0)