Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1211 - 1220 of 6,020 for new1 (0.03 seconds)

  1. src/test/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideItemTest.java

            final StemmerOverrideItem stemmerOverrideItem1 = new StemmerOverrideItem(1, "aaa", "a");
    
            assertTrue(stemmerOverrideItem1.equals(stemmerOverrideItem1));
            assertTrue(stemmerOverrideItem1.equals(new StemmerOverrideItem(1, "aaa", "a")));
            assertTrue(stemmerOverrideItem1.equals(new StemmerOverrideItem(2, "aaa", "a")));
            assertFalse(stemmerOverrideItem1.equals(new StemmerOverrideItem(1, "aaa", "b")));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java

        AtomicBoolean interruptedExceptionThrown = new AtomicBoolean();
        CountDownLatch enterLatch = new CountDownLatch(1);
        CountDownLatch exitLatch = new CountDownLatch(1);
        TrustedListenableFutureTask<Integer> task =
            TrustedListenableFutureTask.create(
                () -> {
                  enterLatch.countDown();
                  try {
                    new CountDownLatch(1).await(); // wait forever
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb1/smb1/Trans2SetFileInformationTest.java

            byte[] dst = new byte[42];
    
            // When
            int result = trans2SetFileInformation.writeDataWireFormat(dst, 0);
    
            // Then
            assertEquals(40, result); // Returns 40 bytes written
        }
    
        @Test
        void testReadSetupWireFormat() {
            // When
            int result = trans2SetFileInformation.readSetupWireFormat(new byte[0], 0, 0);
    
            // Then
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

        this.scenario = scenario;
        this.timeout = timeout;
        this.expectedOutcome = expectedOutcome;
        this.monitor = new Monitor(fair);
        this.guard = new FlagGuard(monitor);
        this.tearDownLatch = new CountDownLatch(1);
        this.doingCallLatch = new CountDownLatch(1);
        this.callCompletedLatch = new CountDownLatch(1);
      }
    
      private static String nameFor(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 26.7K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/query/QueryCommandTest.java

                        propField.setAccessible(true);
                        propField.set(this, new org.dbflute.helper.jprop.ObjectiveProperties("test"));
                    } catch (Exception e) {
                        throw new RuntimeException("Failed to initialize prop field", e);
                    }
                }
    
                @Override
                public String getIndexFieldTitle() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/TreeMultiset.java

       */
      @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
      public static <E extends Comparable> TreeMultiset<E> create() {
        return new TreeMultiset<>(Ordering.natural());
      }
    
      /**
       * Creates a new, empty multiset, sorted according to the specified comparator. All elements
       * inserted into the multiset must be <i>mutually comparable</i> by the specified comparator:
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 34K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

         * @throws Exception
         */
        @Test
        public void testRemove3() throws Exception {
            Map<MyKey, String> m = new ArrayMap<MyKey, String>();
            m.put(new MyKey("1"), "d");
            m.put(new MyKey("2"), "d");
            m.remove(new MyKey("1"));
            assertThat(m.containsKey(new MyKey("1")), is(not(true)));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/core/io/FileUtilTest.java

         * @throws Exception
         */
        @Test
        public void testIsPathSafe_WithFiles() throws Exception {
            final File baseDir = tempFolder.getRoot();
            final File safeFile = new File(baseDir, "subdir/file.txt");
            final File unsafeFile = new File(baseDir, "../../../etc/passwd");
    
            assertTrue("Safe file should be allowed", FileUtil.isPathSafe(safeFile, baseDir));
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/collect/ImmutableMultimapTest.java

      @SuppressWarnings("JUnitIncompatibleType")
      public void testBuilder_withMutableEntry() {
        ImmutableMultimap.Builder<String, Integer> builder = new Builder<>();
        StringHolder holder = new StringHolder();
        holder.string = "one";
        Entry<String, Integer> entry =
            new AbstractMapEntry<String, Integer>() {
              @Override
              public String getKey() {
                return holder.string;
              }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  10. src/test/java/jcifs/SmbResourceLocatorTest.java

            DummySmbResourceLocator(String urlStr) throws MalformedURLException {
                if (urlStr == null) {
                    throw new IllegalArgumentException("URL string must not be null");
                }
                if (!urlStr.startsWith("smb://")) {
                    throw new MalformedURLException("Only SMB URLs are supported in the dummy implementation");
                }
                this.urlStr = urlStr;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8K bytes
    - Click Count (0)
Back to Top