- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 500 for varios (0.26 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
guava-tests/test/com/google/common/io/LittleEndianDataOutputStreamTest.java
public void testWriteBytes() throws IOException { /* Write out various test values in LITTLE ENDIAN FORMAT */ out.writeBytes("r\u00C9sum\u00C9"); byte[] data = baos.toByteArray(); /* Setup input streams */ DataInput in = new DataInputStream(new ByteArrayInputStream(data)); /* Read in various values NORMALLY */ byte[] b = new byte[6]; in.readFully(b);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 4.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSetInformationResponseTest.java
assertEquals(0, response.writeParameterWordsWireFormat(null, 0)); } @ParameterizedTest @ValueSource(ints = { 0, 5, 9 }) @DisplayName("Returns 0 with valid array and various indices") void nonNullArray(int index) { byte[] arr = new byte[10]; assertEquals(0, response.writeParameterWordsWireFormat(arr, index)); } } @Nested
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 4.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/LittleEndianDataInputStreamTest.java
DataOutputStream out = new DataOutputStream(baos); initializeData(out); data = baos.toByteArray(); } private void initializeData(DataOutputStream out) throws IOException { /* Write out various test values NORMALLY */ out.write(new byte[] {-100, 100}); out.writeBoolean(true); out.writeBoolean(false); out.writeByte(100); out.writeByte(-100); out.writeByte((byte) 200);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 4.9K bytes - Click Count (0) -
src/test/java/jcifs/util/HexdumpTest.java
assertEquals(64, result.length()); // 32 bytes * 2 chars per byte } @ParameterizedTest @ValueSource(ints = { 1, 16, 32, 64, 128, 256 }) @DisplayName("Should handle various data sizes") void testVariousDataSizes(int size) { // Given byte[] data = createTestData(size); // When String result = Hexdump.toHexString(data); // Then
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.8K bytes - Click Count (0) -
src/test/java/jcifs/NetbiosNameTest.java
verify(mockNetbiosName).getNameType(); } @ParameterizedTest @ValueSource(ints = { 0x00, 0x03, 0x06, 0x1B, 0x1C, 0x1D, 0x1E, 0x20 }) @DisplayName("Should handle various NetBIOS name types") void testVariousNameTypes(int nameType) { // Given when(mockNetbiosName.getNameType()).thenReturn(nameType); // When int result = mockNetbiosName.getNameType();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessListedClassificationProviderTest.java
super.setUp(testInfo); provider = new FessListedClassificationProvider(); } @Test public void test_provide_notFound() { // Test with various classification names that should not be found assertProvideThrowsException("TestClassification"); assertProvideThrowsException("NonExistent"); assertProvideThrowsException("");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 7.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java
@DisplayName("Should handle various data sizes") @ValueSource(ints = { 0, 1, 100, 1024, 4096, 65536, 1048576 }) void testVariousDataSizes(int size) { byte[] data = new byte[size]; assertDoesNotThrow(() -> request.setData(data, 0, size)); } @ParameterizedTest @DisplayName("Should handle various offsets and lengths")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 22.4K bytes - Click Count (0) -
src/test/java/jcifs/SmbConnectionTest.java
import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import jcifs.config.PropertyConfiguration; /** * Tests for SMB connection batch limit functionality. * Tests the batch limit configuration for various SMB commands. */ public class SmbConnectionTest { /** * Test that getBatchLimit returns correct values for different commands */ @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.1K bytes - Click Count (0) -
src/test/java/jcifs/smb1/util/LogStreamTest.java
// Test that LogStream properly inherits PrintStream functionality LogStream.setInstance(testStream); LogStream logStream = LogStream.getInstance(); // Test various PrintStream methods logStream.print("test"); logStream.print(123); logStream.print(true); logStream.println(); logStream.println("line");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java
} @ParameterizedTest @ValueSource(longs = { 0L, 1L, 100L, 1024L, Long.MAX_VALUE, -1L, Long.MIN_VALUE }) @DisplayName("Test constructor with various end of file values") void testConstructorWithVariousValues(long endOfFile) { FileEndOfFileInformation info = new FileEndOfFileInformation(endOfFile); assertNotNull(info);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.9K bytes - Click Count (0)