- Sort Score
- Result 10 results
- Languages All
Results 871 - 880 of 4,617 for New (0.02 sec)
-
src/test/java/jcifs/smb1/smb1/SmbComReadAndXResponseTest.java
@BeforeEach public void setUp() { response = new SmbComReadAndXResponse(); } @Test public void testConstructor() { assertNotNull(response); } @Test public void testConstructorWithParameters() { byte[] b = new byte[0]; response = new SmbComReadAndXResponse(b, 0); assertNotNull(response); assertEquals(b, response.b);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/normalizer/NormalizerChain.java
* It applies each normalizer in the order they were added to the chain. * * <p>Usage example:</p> * <pre> * NormalizerChain chain = new NormalizerChain(); * chain.add(new SomeNormalizer()); * chain.add(new AnotherNormalizer()); * String normalizedText = chain.normalize("input text", "field", "en"); * </pre> * * <p>Methods:</p> * <ul>
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 2.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSortedMultiset.java
int i = 0; for (Entry<E> entry : entries) { elementsBuilder.add(entry.getElement()); cumulativeCounts[i + 1] = cumulativeCounts[i] + entry.getCount(); i++; } return new RegularImmutableSortedMultiset<>( new RegularImmutableSortedSet<E>(elementsBuilder.build(), comparator), cumulativeCounts, 0, entries.size()); }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 29.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MutableClassToInstanceMapTest.java
*/ map.put(Integer.class, new Integer(5)); assertThrows(ClassCastException.class, () -> map.put(Double.class, new Long(42))); // Won't compile: map.put(String.class, "x"); } public void testPutAndGetInstance() { assertNull(map.putInstance(Integer.class, new Integer(5))); Integer oldValue = map.putInstance(Integer.class, new Integer(7)); assertEquals(5, (int) oldValue);Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Feb 11 18:34:30 UTC 2025 - 4.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/https/HandlerTest.java
@BeforeEach void setUp() { handler = new Handler(); } @Nested @DisplayName("Constructor Tests") class ConstructorTests { @Test @DisplayName("Should create handler with default constructor") void testDefaultConstructor() { // When Handler testHandler = new Handler(); // Then assertNotNull(testHandler);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.2K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcExceptionTest.java
*/ @Test void testConstructorWithMessageAndCause() { String message = "Test message with cause."; Throwable cause = new RuntimeException("Original cause."); DcerpcException exception = new DcerpcException(message, cause); assertEquals(0, exception.getErrorCode(), "Error code should be 0 for message and cause constructor.");Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/PopulatedCachesTest.java
Entry<Object, Object> entry = warmed.get(i - WARMUP_MIN); Object newValue = new Object(); assertSame(entry.getValue(), cache.asMap().put(entry.getKey(), newValue)); // don't let the new entry get GCed warmed.add(entryOf(entry.getKey(), newValue)); Object newKey = new Object(); assertNull(cache.asMap().put(newKey, entry.getValue()));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 15.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SearchHelper.java
*/ protected byte[] gzipDecompress(final byte[] compressed) { try (final ByteArrayInputStream bis = new ByteArrayInputStream(compressed); final GZIPInputStream gzipIn = new GZIPInputStream(bis); final ByteArrayOutputStream bos = new ByteArrayOutputStream()) { final byte[] buffer = new byte[1024]; int len; while ((len = gzipIn.read(buffer)) > 0) {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 35.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/InputStreamThreadTest.java
StringBuilder largeInput = new StringBuilder(); for (int i = 0; i < 5000; i++) { largeInput.append("Line number ").append(i).append("\n"); } InputStream is = new ByteArrayInputStream(largeInput.toString().getBytes(StandardCharsets.UTF_8)); CountDownLatch latch = new CountDownLatch(1); List<String> receivedLines = new ArrayList<>();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 11.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/GenerateThumbnailJobTest.java
capturedSessionId = sessionId; capturedCmdList = new ArrayList<>(cmdList); ProcessBuilder pb = new ProcessBuilder(cmdList); pbConsumer.accept(pb); capturedDirectory = pb.directory(); capturedEnvironment = new HashMap<>(pb.environment()); return new TestJobProcess(exitValue, processOutput); } }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 18.8K bytes - Viewed (0)