- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 1,259 for varray2 (0.03 sec)
-
src/test/java/jcifs/internal/SmbNegotiationTest.java
assertArrayEquals(new byte[] { 0x05, 0x06, 0x07, 0x08 }, responseBuffer); } @Test @DisplayName("Test with empty buffers") void testWithEmptyBuffers() { // Test with empty byte arrays byte[] emptyRequestBuffer = new byte[0]; byte[] emptyResponseBuffer = new byte[0];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/util/HexdumpTest.java
assertEquals("00FF7F80", result); } @Test @DisplayName("Should handle large byte arrays efficiently") void testLargeByteArray() { // Create a larger test array byte[] data = createTestData(1024); // Test full array conversion String result = Hexdump.toHexString(data); assertEquals(2048, result.length()); // 1024 bytes * 2 chars
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java
byte[] buffer2 = new byte[28]; Arrays.fill(buffer2, 0, 24, (byte) 0x22); int bytesConsumed2 = response.decode(buffer2, 0, 28); assertEquals(28, bytesConsumed2); byte[] resumeKey2 = response.getResumeKey(); assertNotNull(resumeKey2); assertEquals((byte) 0x22, resumeKey2[0]); // Verify it's a different array
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableListTest.java
} public void testCreation_arrayOfArray() { String[] array = new String[] {"a"}; List<String[]> list = ImmutableList.<String[]>of(array); assertEquals(singletonList(array), list); } public void testCopyOf_emptyArray() { String[] array = new String[0]; List<String> list = ImmutableList.copyOf(array); assertEquals(emptyList(), list); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java
+ ", userBoost=" + userBoost + ", readings=" + Arrays.toString(readings) + ", fields=" + Arrays.toString(fields) + ", tags=" + Arrays.toString(tags) + ", roles=" + Arrays.toString(roles) + ", languages=" + Arrays.toString(languages) + ", kinds=" + Arrays.toString(kinds) + ", emptySource=" + emptySource + ", id=" + id + "]"; }
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 25.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/WinErrorTest.java
import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test; import org.mockito.Mockito; /** * Tests for {@link WinError} interface constants and static arrays. * The interface has no instance methods, so the tests focus on * value correctness and array integrity. A tiny Mockito example * demonstrates that the interface can be mocked if another class * depends on it. */ public class WinErrorTest { @NestedRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/CompactHashSetTest.java
import java.util.Arrays; import java.util.List; import java.util.Set; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; import org.jspecify.annotations.NullUnmarked; /** * Tests for CompactHashSet. * * @author Dimitris Andreou */ @GwtIncompatible // java.util.Arrays#copyOf(Object[], int), java.lang.reflect.Array @NullUnmarked
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 25 16:19:30 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/annotation/SecuredTest.java
assertNotNull(target); ElementType[] targetTypes = target.value(); assertEquals(2, targetTypes.length); assertTrue(Arrays.asList(targetTypes).contains(ElementType.METHOD)); assertTrue(Arrays.asList(targetTypes).contains(ElementType.TYPE)); // Check Retention annotation Retention retention = Secured.class.getAnnotation(Retention.class);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 15.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/ArrayTable.java
// In GWT array access never throws IndexOutOfBoundsException. checkElementIndex(rowIndex, rowList.size()); checkElementIndex(columnIndex, columnList.size()); V oldValue = array[rowIndex][columnIndex]; array[rowIndex][columnIndex] = value; return oldValue; } /** * Returns a two-dimensional array with the table contents. The row and column indices correspondRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 13 19:39:21 UTC 2025 - 26.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/Smb2LeaseKeyTest.java
import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; import java.util.Arrays; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; @DisplayName("Smb2LeaseKey Tests") class Smb2LeaseKeyTest { @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 6K bytes - Viewed (0)