- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 29 for zeroKey (0.13 seconds)
-
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java
void testSourceKeyAllZeros() { // Given byte[] zeroKey = new byte[SOURCE_KEY_SIZE]; // All zeros by default SrvCopychunk chunk = new SrvCopychunk(1, 2, 3); SrvCopychunkCopy copy = new SrvCopychunkCopy(zeroKey, chunk); byte[] buffer = new byte[100]; // When int bytesWritten = copy.encode(buffer, 0);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 23.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/BufferCacheImplTest.java
// Assert: original array is zeroed in-place for (byte value : b) { assertEquals(0, value, "Released buffer must be zeroed"); } // Next get should return the same instance from cache byte[] reused = impl.getBuffer(); assertSame(b, reused, "Buffer should be reused from cache"); // And it should still be zeroed for (byte value : reused) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/witness/WitnessUnregisterMessage.java
// Context handle is modified by the server (typically zeroed out) if (contextHandle == null) { contextHandle = new byte[20]; } buf.readOctetArray(contextHandle, 0, 20); } /** * Checks if the context handle has been invalidated (all zeros). * A successful unregistration typically results in a zeroed context handle. *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 09:06:40 GMT 2025 - 3.8K bytes - Click Count (0) -
android/guava/src/com/google/common/base/CharMatcher.java
+ "\u1c40\u1c50\ua620\ua8d0\ua900\ua9d0\ua9f0\uaa50\uabf0\uff10"; private static char[] zeroes() { return ZEROES.toCharArray(); } private static char[] nines() { char[] nines = new char[ZEROES.length()]; for (int i = 0; i < ZEROES.length(); i++) { nines[i] = (char) (ZEROES.charAt(i) + 9); } return nines; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 53.9K bytes - Click Count (0) -
guava/src/com/google/common/base/CharMatcher.java
+ "\u1c40\u1c50\ua620\ua8d0\ua900\ua9d0\ua9f0\uaa50\uabf0\uff10"; private static char[] zeroes() { return ZEROES.toCharArray(); } private static char[] nines() { char[] nines = new char[ZEROES.length()]; for (int i = 0; i < ZEROES.length(); i++) { nines[i] = (char) (ZEROES.charAt(i) + 9); } return nines; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 54.4K bytes - Click Count (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java
checkVersionsOrder(c, d); checkVersionsOrder(b, d); checkVersionsOrder(a, d); } /** * Test all versions are equal when starting with many leading zeroes regardless of string length * (related to MNG-6572 optimization) */ @Test void testVersionEqualWithLeadingZeroes() { // versions with string lengths from 1 to 19
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 17.8K bytes - Click Count (0) -
android/guava/src/com/google/common/net/InetAddresses.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 47.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java
assertEquals((byte) 0x42, aad[0]); assertEquals((byte) 0x4D, aad[1]); assertEquals((byte) 0x53, aad[2]); assertEquals((byte) 0xFD, aad[3]); // Verify signature is zeroed out (16 bytes of zeros) for (int i = 4; i < 20; i++) { assertEquals(0, aad[i], "Signature bytes should be zero in AAD"); } // Verify nonce matches at position 20
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.7K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/LittleEndianByteArray.java
// Delegates to the fast (unsafe) version or the fallback. return byteArray.getLongLittleEndian(input, offset); } /** * Similar to load64, but allows offset + 8 > input.length, padding the result with zeroes. This * has to explicitly reverse the order of the bytes as it packs them into the result which makes * it slower than the native version. * * @param input the input bytes
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 10.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java
// When int bytesWritten = request.writeBytesWireFormat(buffer, 0); // Then assertTrue(bytesWritten > 0); // Verify negotiate context offset/count area is zeroed assertEquals(0, SMBUtil.readInt8(buffer, 28)); } @Test @DisplayName("Should read empty bytes from wire format") void testReadBytesWireFormat() { // GivenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.7K bytes - Click Count (0)