Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 4,328 for new3 (0.02 sec)

  1. src/test/java/org/codelibs/fess/exception/ServletRuntimeExceptionTest.java

            Exception rootCause = new Exception(rootCauseMessage);
    
            // Create a ServletException with the root cause
            String servletErrorMessage = "Servlet error with cause";
            ServletException servletException = new ServletException(servletErrorMessage, rootCause);
    
            // Wrap it in ServletRuntimeException
            ServletRuntimeException runtimeException = new ServletRuntimeException(servletException);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/dict/kuromoji/KuromojiItemTest.java

            assertFalse(kuromojiItem1.equals(new KuromojiItem(1, "t1", "s1", "R1", "p1")));
            assertFalse(kuromojiItem1.equals(new KuromojiItem(1, "t1", "s1", "r1", "P1")));
        }
    
        public void test_toLineString() {
            assertEquals("t1,s1,r1,p1", new KuromojiItem(1, "t1", "s1", "r1", "p1").toLineString());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableRangeMap.java

        ImmutableList.Builder<Range<K>> rangesBuilder = new ImmutableList.Builder<>(map.size());
        ImmutableList.Builder<V> valuesBuilder = new ImmutableList.Builder<>(map.size());
        for (Entry<Range<K>, ? extends V> entry : map.entrySet()) {
          rangesBuilder.add(entry.getKey());
          valuesBuilder.add(entry.getValue());
        }
        return new ImmutableRangeMap<>(rangesBuilder.build(), valuesBuilder.build());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java

            @DisplayName("Should encode multiple locks sequentially")
            void testSequentialEncoding() {
                Smb2Lock lock1 = new Smb2Lock(100L, 200L, 1);
                Smb2Lock lock2 = new Smb2Lock(300L, 400L, 2);
                Smb2Lock lock3 = new Smb2Lock(500L, 600L, 4);
    
                int offset = 0;
                offset += lock1.encode(buffer, offset);
                offset += lock2.encode(buffer, offset);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java

                // Given
                byte[] buffer1 = new byte[10];
                byte[] buffer2 = new byte[10];
                SMBUtil.writeInt2(4, buffer1, 0);
                SMBUtil.writeInt2(4, buffer2, 0);
    
                // When - simulate concurrent access
                Thread thread1 = new Thread(() -> {
                    try {
                        response.readBytesWireFormat(buffer1, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/util/transport/TransportTest.java

                InputStream is = new ByteArrayInputStream("test".getBytes());
                assertThrows(IOException.class, () -> Transport.readn(is, new byte[5], 0, 10));
            }
    
            @Test
            @DisplayName("readn should return 0 when no more bytes available")
            void shouldReturnZeroWhenStreamEmpty() throws IOException {
                InputStream is = new ByteArrayInputStream("Hi".getBytes());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/SetViewTest.java

            SetTestSuiteBuilder.using(
                    new TestStringSetGenerator() {
                      @Override
                      protected Set<String> create(String[] elements) {
                        // Put the sets in different orders for the hell of it
                        return union(
                            new LinkedHashSet<>(asList(elements[0], elements[1], elements[2])),
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.9K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/exception/UserRoleLoginExceptionTest.java

            UserRoleLoginException exception = new UserRoleLoginException(RootAction.class);
    
            // Create multiple threads to test synchronized method
            Thread thread1 = new Thread(() -> {
                Throwable result = exception.fillInStackTrace();
                assertNull(result);
            });
    
            Thread thread2 = new Thread(() -> {
                Throwable result = exception.fillInStackTrace();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

            protwordsFile.reload(null);
    
            // Create updater with a new item
            ProtwordsItem newItem = new ProtwordsItem(0, "testNew");
            ProtwordsFile.ProtwordsUpdater updater = protwordsFile.new ProtwordsUpdater(newItem);
    
            // Write an existing item (should pass through)
            ProtwordsItem existingItem = new ProtwordsItem(10, "existing");
            ProtwordsItem result = updater.write(existingItem);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/opensearch/user/cbean/ca/bs/BsGroupCA.java

            GroupCQ cq = new GroupCQ();
            if (queryLambda != null) {
                queryLambda.callback(cq);
            }
            FilterAggregationBuilder builder = regFilterA(name, cq.getQuery());
            if (opLambda != null) {
                opLambda.callback(builder);
            }
            if (aggsLambda != null) {
                GroupCA ca = new GroupCA();
                aggsLambda.callback(ca);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 17.7K bytes
    - Viewed (0)
Back to top