Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 4,328 for new3 (0.02 sec)

  1. guava-tests/test/com/google/common/base/FunctionsTest.java

        Supplier<Integer> supplier = new CountingSupplier();
        Function<@Nullable Object, Integer> function = Functions.forSupplier(supplier);
    
        assertEquals(1, (int) function.apply(null));
        assertEquals(2, (int) function.apply("foo"));
    
        new EqualsTester()
            .addEqualityGroup(function, Functions.forSupplier(supplier))
            .addEqualityGroup(Functions.forSupplier(new CountingSupplier()))
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/job/JobExecutorTest.java

        }
    
        public void test_multipleJobExecutors() {
            // Test multiple JobExecutor instances
            JobExecutor executor1 = new TestJobExecutor();
            JobExecutor executor2 = new TestJobExecutor();
    
            AtomicInteger counter1 = new AtomicInteger(0);
            AtomicInteger counter2 = new AtomicInteger(0);
    
            executor1.addShutdownListener(() -> counter1.incrementAndGet());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java

            verifyTokenKeep(this::asIndexHtml);
    
            final String diagnosticId = "log" + new SimpleDateFormat("yyyyMMddHHmm").format(ComponentUtil.getSystemHelper().getCurrentTime());
            return asStream(diagnosticId + ".zip").contentTypeOctetStream().stream(out -> {
                try (ZipOutputStream zos = new ZipOutputStream(out.stream())) {
                    writeLogFiles(zos, diagnosticId);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 18K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java

        public void test_generateId_virtualHost() {
            final Map<String, Object> dataMap = new HashMap<String, Object>();
            dataMap.put("url", "http://example.com/");
            final List<String> roleTypeList = new ArrayList<String>();
            roleTypeList.add("admin");
            dataMap.put("role", roleTypeList);
            final List<String> virtualHostList = new ArrayList<String>();
            virtualHostList.add("site1");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

          return new PopulatableMapAsMultimap<>();
        }
    
        @SuppressWarnings("unchecked") // all methods throw immediately
        PopulatableMapAsMultimap() {
          this.map = new HashMap<>();
          this.unusableDelegate =
              (SetMultimap<K, V>)
                  newProxyInstance(
                      SetMultimap.class.getClassLoader(),
                      new Class<?>[] {SetMultimap.class},
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 28.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/RelatedContentHelperTest.java

            DynamicProperties systemProps = new DynamicProperties(file);
            ComponentUtil.register(systemProps, "systemProperties");
    
            relatedContentHelper = new RelatedContentHelper() {
                @Override
                public List<RelatedContent> getAvailableRelatedContentList() {
                    return mockBhv.getTestData();
                }
            };
    
            mockBhv = new MockRelatedContentBhv();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/netbios/SessionServicePacketTest.java

        @Test
        @DisplayName("readn should handle EOF correctly")
        void testReadnEOF() throws IOException {
            byte[] buffer = new byte[10];
            ByteArrayInputStream bais = new ByteArrayInputStream(new byte[0]);
    
            int bytesRead = SessionServicePacket.readn(bais, buffer, 0, 5);
    
            assertEquals(0, bytesRead);
        }
    
        @Test
        @DisplayName("readn should handle multiple read calls")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/entity/FessUserTest.java

            assertNull(user.getName());
    
            // Test with special characters in name
            user = new TestFessUser("******@****.***", new String[] {}, new String[] {}, new String[] {});
            assertEquals("******@****.***", user.getName());
    
            // Test with Unicode characters
            user = new TestFessUser("ユーザー名", new String[] {}, new String[] {}, new String[] {});
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/toolchain/DefaultToolchainTest.java

        }
    
        @Test
        void testEquals() {
            ToolchainModel tm1 = new ToolchainModel();
            tm1.setType("jdk");
            tm1.addProvide("version", "1.5");
            tm1.addProvide("vendor", "sun");
            Xpp3Dom configuration1 = new Xpp3Dom("configuration");
            Xpp3Dom jdkHome1 = new Xpp3Dom("jdkHome");
            jdkHome1.setValue("${env.JAVA_HOME}");
            configuration1.addChild(jdkHome1);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Feb 11 12:33:57 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  10. guava-testlib/test/com/google/common/testing/FakeTickerTest.java

      @GwtIncompatible // NullPointerTester
      public void testNullPointerExceptions() {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicInstanceMethods(new FakeTicker());
      }
    
      @GwtIncompatible // java.time.Duration
      public void testAdvance() {
        FakeTicker ticker = new FakeTicker();
        assertEquals(0, ticker.read());
        assertSame(ticker, ticker.advance(10));
        assertEquals(10, ticker.read());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.3K bytes
    - Viewed (0)
Back to top