- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 480 for ints (0.41 sec)
-
src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java
String shareName = "SHARE1"; int shareType = 0x00000000; // Disk share String remark = "Test share"; // Calculate buffer size int shareNameSize = 14; // 13 bytes + null terminator (fixed field) int typeSize = 2; int offsetSize = 4; int remarkSize = remark.length() + 1; int totalSize = shareNameSize + typeSize + offsetSize + remarkSize;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
assertThat(e.getStackTrace()[index - 1].getMethodName()).isEqualTo("get"); } private static int findStackFrame(ExecutionException e, String clazz, String method) { StackTraceElement[] elements = e.getStackTrace(); for (int i = 0; i < elements.length; i++) { StackTraceElement element = elements[i]; if (element.getClassName().equals(clazz) && element.getMethodName().equals(method)) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 46.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java
// Add ACEs int aceOffset = offset + 28; // After DACL header for (int i = 0; i < aceCount; i++) { prepareSimpleAce(buffer, aceOffset); aceOffset += 32; // Simple ACE size } } private void prepareSecurityDescriptorBufferWithInvalidAceCount(byte[] buffer, int offset) { buffer[offset] = 0x01; // revisionRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java
Method pad8Method = ServerMessageBlock2.class.getDeclaredMethod("pad8", int.class); pad8Method.setAccessible(true); // Test various positions int[] positions = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 15, 16 }; for (int pos : positions) { int padding = (int) pad8Method.invoke(req, pos); // Verify padding makes position 8-byte aligned
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java
} // Test size calculation int size = request.size(); int expectedRawSize = Smb2Constants.SMB2_HEADER_LENGTH + 40 + 64; int expectedSize = (expectedRawSize + 7) & ~7; assertEquals(expectedSize, size); // Test wire format writing byte[] buffer = new byte[512]; int bytesWritten = request.writeBytesWireFormat(buffer, 64);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
assertThat(e.getStackTrace()[index - 1].getMethodName()).isEqualTo("get"); } private static int findStackFrame(ExecutionException e, String clazz, String method) { StackTraceElement[] elements = e.getStackTrace(); for (int i = 0; i < elements.length; i++) { StackTraceElement element = elements[i]; if (element.getClassName().equals(clazz) && element.getMethodName().equals(method)) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 46.8K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Booleans.java
* @since 32.0.0 */ public static void rotate(boolean[] array, int distance, int fromIndex, int toIndex) { // See Ints.rotate for more details about possible algorithms here. checkNotNull(array); checkPositionIndexes(fromIndex, toIndex, array.length); if (array.length <= 1) { return; } int length = toIndex - fromIndex;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Sep 25 15:01:23 UTC 2025 - 20.6K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/ImmutableLongArray.java
} private void ensureRoomFor(int numberToAdd) { int newCount = count + numberToAdd; // TODO(kevinb): check overflow now? if (newCount > array.length) { array = Arrays.copyOf(array, expandedCapacity(array.length, newCount)); } } // Unfortunately this is pasted from ImmutableCollection.Builder. private static int expandedCapacity(int oldCapacity, int minCapacity) { if (minCapacity < 0) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 14:49:24 UTC 2025 - 22K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Booleans.java
* @since 32.0.0 */ public static void rotate(boolean[] array, int distance, int fromIndex, int toIndex) { // See Ints.rotate for more details about possible algorithms here. checkNotNull(array); checkPositionIndexes(fromIndex, toIndex, array.length); if (array.length <= 1) { return; } int length = toIndex - fromIndex;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Sep 25 15:01:23 UTC 2025 - 20.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java
} @ParameterizedTest @DisplayName("Should handle various sector sizes") @ValueSource(ints = { 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536 }) void shouldHandleVariousSectorSizes(int sectorSize) throws SMBProtocolDecodingException { // Given ByteBuffer buffer = ByteBuffer.allocate(24);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.9K bytes - Viewed (0)