- Sort Score
- Num 10 results
- Language All
Results 731 - 740 of 6,187 for New (0.11 seconds)
-
src/test/java/jcifs/dcerpc/ndr/NdrLongTest.java
int positiveValue = 12345; NdrLong ndrLongPositive = new NdrLong(positiveValue); assertEquals(positiveValue, ndrLongPositive.value, "Constructor should correctly initialize with a positive value."); // Test case 2: Negative value int negativeValue = -54321; NdrLong ndrLongNegative = new NdrLong(negativeValue);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.2K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java
} } if (field == null) { throw new NoSuchFieldException(fieldName); } field.setAccessible(true); field.set(this, value); } catch (Exception e) { throw new RuntimeException("Failed to set field " + fieldName, e); } }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfoTest.java
assertFalse(loopback.isUsableForChannel()); } @Test void testGetScore() { NetworkInterfaceInfo basic = new NetworkInterfaceInfo(testAddress, 1000); assertEquals(1000, basic.getScore()); // Base score is link speed NetworkInterfaceInfo fast = new NetworkInterfaceInfo(testAddress, 10000);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 4.9K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbComNegotiateResponse.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/IteratorsTest.java
assertThat(result) .containsExactly( new TestDatum("A", 2), new TestDatum("B", 1), new TestDatum("C", 1), new TestDatum("C", 2)) .inOrder(); } public void testMergeSorted_stable_allEqual() { ImmutableList<TestDatum> first = ImmutableList.of(new TestDatum("A", 1), new TestDatum("A", 2)); ImmutableList<TestDatum> second =Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 57.3K bytes - Click Count (0) -
compat/maven-repository-metadata/src/main/java/org/apache/maven/artifact/repository/metadata/io/xpp3/MetadataXpp3Reader.java
/** * Default constructor */ public MetadataXpp3Reader() { delegate = new MetadataStaxReader(); } /** * Constructor with ContentTransformer * * @param contentTransformer a transformer */ public MetadataXpp3Reader(ContentTransformer contentTransformer) { delegate = new MetadataStaxReader(contentTransformer::transform); } /**Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 5.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/chat/ChatClientTest.java
final Map<String, Object> doc1 = new HashMap<>(); doc1.put("title", "Installation Guide"); doc1.put("url", "http://example.com/install"); msg.addSource(new ChatSource(1, doc1)); final Map<String, Object> doc2 = new HashMap<>(); doc2.put("title", "Quick Start"); doc2.put("url", "http://example.com/start"); msg.addSource(new ChatSource(2, doc2));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 21 06:04:58 GMT 2026 - 40.6K bytes - Click Count (0) -
src/test/java/org/codelibs/curl/CurlExceptionTest.java
IOException cause = new IOException("IO error"); CurlException exception = new CurlException(null, cause); assertNull(exception.getMessage()); assertSame(cause, exception.getCause()); } @Test public void testConstructorWithMessageAndNullCause() { String message = "Test error message"; CurlException exception = new CurlException(message, null);
Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Thu Jul 31 01:01:12 GMT 2025 - 4.2K bytes - Click Count (0) -
src/main/java/jcifs/smb1/util/transport/TransportException.java
public class TransportException extends IOException { /** The root cause exception */ private Throwable rootCause; /** * Constructs a new TransportException with no detail message. */ public TransportException() { } /** * Constructs a new TransportException with the specified detail message. * * @param msg the detail message */ public TransportException(final String msg) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.8K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComWriteAndXResponseTest.java
/** * Test the readParameterWordsWireFormat method. */ @Test void testReadParameterWordsWireFormat() { SmbComWriteAndXResponse response = new SmbComWriteAndXResponse(); byte[] buffer = new byte[] { 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; // count = 10 int bytesRead = response.readParameterWordsWireFormat(buffer, 0); // The count should be read from the buffer.Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.4K bytes - Click Count (0)