- Sort Score
- Num 10 results
- Language All
Results 621 - 630 of 6,187 for New (0.02 seconds)
-
src/test/java/jcifs/ntlmssp/av/AvFlagsTest.java
byte[] rawBytes = new byte[] { 0x01, 0x02, 0x03, 0x04 }; // Represents 0x04030201 (little-endian) AvFlags avFlags = new AvFlags(rawBytes); assertNotNull(avFlags, "AvFlags object should not be null"); assertEquals(0x04030201, avFlags.getFlags(), "Flags should match the raw bytes (little-endian)"); // Test with zero byte[] zeroBytes = new byte[] { 0x00, 0x00, 0x00, 0x00 };
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/UnsupportedSearchExceptionTest.java
UnsupportedSearchException exception = new UnsupportedSearchException(message); assertEquals(message, exception.getMessage()); assertNull(exception.getCause()); } @Test public void test_constructor_withEmptyMessage() { // Test with empty message String message = ""; UnsupportedSearchException exception = new UnsupportedSearchException(message);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 8.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractIdleServiceTest.java
TestService service = new TestService(); assertEquals(0, service.startUpCalled); service.startAsync().awaitRunning(); assertEquals(1, service.startUpCalled); assertEquals(Service.State.RUNNING, service.state()); assertThat(service.transitionStates).containsExactly(Service.State.STARTING); } public void testStart_failed() { Exception exception = new Exception("deliberate");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 7.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/graph/MapCacheTest.java
return Arrays.asList( new Object[][] { {new MapIteratorCache<String, String>(new HashMap<String, String>())}, {new MapIteratorCache<String, String>(new TreeMap<String, String>(nullsLast))}, {new MapRetrievalCache<String, String>(new HashMap<String, String>())}, {new MapRetrievalCache<String, String>(new TreeMap<String, String>(nullsLast))} }); } @BeforeCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/mylasta/action/FessMessages.java
public static final String ERRORS_crud_invalid_mode = "{errors.crud_invalid_mode}"; /** The key of the message: Failed to create a new data. */ public static final String ERRORS_crud_failed_to_create_instance = "{errors.crud_failed_to_create_instance}"; /** The key of the message: Failed to create a new data. ({0}) */ public static final String ERRORS_crud_failed_to_create_crud_table = "{errors.crud_failed_to_create_crud_table}";Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 126.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHookTest.java
ClassLoader customClassLoader = new URLClassLoader(new URL[0], null) { @Override public Class<?> loadClass(String name) throws ClassNotFoundException { if ("org.apache.commons.httpclient.MultiThreadedHttpConnectionManager".equals(name)) { // Simulate class not found throw new ClassNotFoundException(name); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 8.7K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NameQueryRequestTest.java
NameQueryRequest request = new NameQueryRequest(mockConfig, mockName); byte[] src = new byte[100]; int srcIndex = 0; int result = request.readRDataWireFormat(src, srcIndex); assertEquals(0, result); } @Test void testToString() { // Test the toString method's output format NameQueryRequest request = new NameQueryRequest(mockConfig, mockName);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.8K bytes - Click Count (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RemoteSnapshotMetadataTest.java
return df.format(new Date()); } @Test void gregorianCalendarIsUsed() { String dateBefore = gregorianDate(); RemoteSnapshotMetadata metadata = new RemoteSnapshotMetadata(new DefaultArtifact("a:b:1-SNAPSHOT"), new Date(), null); metadata.merge(new Metadata()); String dateAfter = gregorianDate();
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/TreeRangeMapTest.java
public static Test suite() { TestSuite suite = new TestSuite(); suite.addTestSuite(TreeRangeMapTest.class); suite.addTest( MapTestSuiteBuilder.using( new TestMapGenerator<Range<Integer>, String>() { @Override public SampleElements<Entry<Range<Integer>, String>> samples() { return new SampleElements<>(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 30.1K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java
final byte[] p14 = new byte[14]; final byte[] p21 = new byte[21]; final byte[] p24 = new byte[24]; byte[] passwordBytes; try { passwordBytes = password.toUpperCase().getBytes(SmbConstants.OEM_ENCODING); } catch (final UnsupportedEncodingException uee) { throw new RuntimeException("Try setting jcifs.smb1.encoding=US-ASCII", uee);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 26.7K bytes - Click Count (0)