Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 361 - 370 of 4,939 for New (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. guava-tests/test/com/google/common/util/concurrent/SupplementalMonitorTest.java

      public void testLeaveWithoutEnterThrowsIMSE() {
        Monitor monitor = new Monitor();
        assertThrows(IllegalMonitorStateException.class, monitor::leave);
      }
    
      public void testGetWaitQueueLengthWithWrongMonitorThrowsIMSE() {
        Monitor monitor1 = new Monitor();
        Monitor monitor2 = new Monitor();
        FlagGuard guard = new FlagGuard(monitor2);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 5K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

        future.setException(new Exception());
        listener.assertRun();
      }
    
      public void testListenLaterCancelled() {
        CountingRunnable listener = new CountingRunnable();
    
        future.addListener(listener, directExecutor());
        listener.assertNotRun();
    
        future.cancel(false);
        listener.assertRun();
      }
    
      public void testListenLaterInterrupted() {
        CountingRunnable listener = new CountingRunnable();
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 16.3K bytes
    - Click Count (0)
  3. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/io/DefaultSettingsReader.java

            try (InputStream in = Files.newInputStream(input.toPath())) {
                InputSource source = InputSource.of(input.toString());
                return new Settings(new SettingsStaxReader().read(in, isStrict(options), source));
            } catch (XMLStreamException e) {
                throw new SettingsParseException(
                        e.getMessage(),
                        e.getLocation().getLineNumber(),
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java

            smb.setBytes(bytes);
    
            byte[] buffer = new byte[1024];
            int length = smb.encode(buffer, 0);
    
            // Create a new SMB to decode into
            TestServerMessageBlock decodedSmb = new TestServerMessageBlock();
            decodedSmb.setParamWords(new byte[params.length]);
            decodedSmb.setBytes(new byte[bytes.length]);
            decodedSmb.decode(buffer, 0);
    
    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)
  5. src/test/java/org/codelibs/core/beans/util/CopyOptionsTest.java

            assertThat(new CopyOptions().converter(new DateConverter("yyyyMMdd")).convertValue(new Timestamp(0), "aaa", String.class),
                    is((Object) "19700101"));
        }
    
        /**
         * @throws Exception
         */
        @Test(expected = ConverterRuntimeException.class)
        public void testConvertValue_throwable() throws Exception {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Fri Jun 20 13:40:57 GMT 2025
    - 12K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/entity/DataStoreParams.java

        /**
         * Creates a new empty DataStoreParams instance.
         * Initializes the internal parameter map with a ParamMap wrapper.
         */
        public DataStoreParams() {
            params = new ParamMap<>(new HashMap<>());
        }
    
        /**
         * Creates a new DataStoreParams instance with a copy of the provided parameters.
         * This protected constructor is used for creating new instances from existing parameter maps.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  7. src/test/java/jcifs/netbios/SessionRetargetResponsePacketTest.java

            SessionRetargetResponsePacket packet = new SessionRetargetResponsePacket();
            assertEquals(SessionServicePacket.SESSION_RETARGET_RESPONSE, packet.type);
            assertEquals(6, packet.length);
        }
    
        @Test
        void writeTrailerWireFormatShouldReturnZero() {
            // Test that writeTrailerWireFormat always returns 0, as per its implementation.
            SessionRetargetResponsePacket packet = new SessionRetargetResponsePacket();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java

        public void test_isAvailable() {
            // Test default implementation
            generator = new TestThumbnailGenerator();
            assertTrue(generator.isAvailable());
        }
    
        @Test
        public void test_isTarget() {
            // Test isTarget method
            generator = new TestThumbnailGenerator();
            Map<String, Object> docMap = new HashMap<>();
    
            // Note: isTarget requires FessConfig which needs container
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Feb 04 14:24:39 GMT 2026
    - 17.1K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/helper/IndexingHelperTest.java

            ComponentUtil.register(indexingHelper, "indexingHelper");
            ComponentUtil.register(new ThumbnailManager(), "thumbnailManager");
            final CrawlingConfigHelper crawlingConfigHelper = new CrawlingConfigHelper();
            crawlingConfigHelper.init();
            ComponentUtil.register(crawlingConfigHelper, "crawlingConfigHelper");
            ComponentUtil.register(new WebConfigService() {
                @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 29.7K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

                    Arguments.of(DialectVersion.SMB210, DialectVersion.SMB300, new int[] { 0x0210, 0x0300 }),
                    Arguments.of(DialectVersion.SMB202, DialectVersion.SMB311, new int[] { 0x0202, 0x0210, 0x0300, 0x0302, 0x0311 }),
                    Arguments.of(DialectVersion.SMB311, DialectVersion.SMB311, new int[] { 0x0311 }));
        }
    
        @ParameterizedTest
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.7K bytes
    - Click Count (0)
Back to Top