Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 741 - 750 of 6,076 for newE (0.13 seconds)

  1. src/test/java/org/codelibs/fess/filter/WebApiFilterTest.java

            HttpServletResponse response = createMockHttpServletResponse();
            AtomicBoolean chainCalled = new AtomicBoolean(false);
            AtomicBoolean managerCalled = new AtomicBoolean(false);
    
            FilterChain chain = new FilterChain() {
                @Override
                public void doFilter(ServletRequest req, ServletResponse res) throws IOException, ServletException {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 26.5K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/collect/InternersTest.java

      }
    
    
      public void testWeak_afterGC() throws InterruptedException {
        MyInt canonical = new MyInt(5);
        MyInt not = new MyInt(5);
    
        Interner<MyInt> pool = Interners.newWeakInterner();
        assertThat(pool.intern(canonical)).isSameInstanceAs(canonical);
    
        WeakReference<MyInt> signal = new WeakReference<>(canonical);
        canonical = null; // Hint to the JIT that canonical is unreachable
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  3. src/test/java/jcifs/util/HMACT64Test.java

                when(mockMd5.digest()).thenReturn(innerDigest);
                doThrow(new RuntimeException("Test Exception")).when(mockMd5).digest(any(byte[].class), anyInt(), anyInt());
    
                HMACT64 hmac = new HMACT64(TEST_KEY);
                assertThrows(IllegalStateException.class, () -> hmac.engineDigest(new byte[10], 0, 10));
            }
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.6K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/thumbnail/impl/EmptyGeneratorTest.java

        private EmptyGenerator emptyGenerator;
    
        @Test
        public void test_generate() {
            // Initialize without container
            emptyGenerator = new EmptyGenerator();
    
            // Test that generate always returns false
            File outputFile = new File("test.jpg");
            assertFalse(emptyGenerator.generate("thumbnailId", outputFile));
            assertFalse(emptyGenerator.generate(null, outputFile));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/Lists.java

          int initialArraySize) {
        checkNonnegative(initialArraySize, "initialArraySize"); // for GWT.
        return new ArrayList<>(initialArraySize);
      }
    
      /**
       * Creates an {@code ArrayList} instance to hold {@code estimatedSize} elements, <i>plus</i> an
       * unspecified amount of padding; **don't do this**. Instead, use {@code new }{@link
       * ArrayList#ArrayList(int) ArrayList}{@code <>(int)} directly and choose an explicit padding
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 16:38:09 GMT 2026
    - 42.1K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/reflect/TypeVisitorTest.java

        Type type = new TypeCapture<T[]>() {}.capture();
        assertVisited(type);
        new BaseTypeVisitor() {
          @Override
          void visitGenericArrayType(GenericArrayType t) {}
        }.visit(type);
      }
    
      public <T> void testVisitParameterizedType() {
        Type type = new TypeCapture<Iterable<T>>() {}.capture();
        assertVisited(type);
        new BaseTypeVisitor() {
          @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 3.8K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/SecurityBlobTest.java

        static Stream<Arguments> hexCases() {
            return Stream.of(Arguments.of(new byte[] {}, ""), Arguments.of(new byte[] { (byte) 0x00 }, "00"),
                    Arguments.of(new byte[] { (byte) 0x0F }, "0f"), Arguments.of(new byte[] { (byte) 0x10 }, "10"),
                    Arguments.of(new byte[] { (byte) 0xAB }, "ab"),
                    Arguments.of(new byte[] { (byte) 0x7F, (byte) 0x80, (byte) 0xFF }, "7f80ff"));
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java

        @Test
        @DisplayName("Test writeParameterWordsWireFormat writes search attributes correctly")
        public void testWriteParameterWordsWireFormat() {
            // Given
            byte[] dst = new byte[10];
            smbComRename = new SmbComRename(config, "old.txt", "new.txt");
            int dstIndex = 2;
    
            // When
            int result = smbComRename.writeParameterWordsWireFormat(dst, dstIndex);
    
            // Then
            assertEquals(2, result);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/curl/CurlExceptionTest.java

            IOException cause = new IOException("IO error");
            CurlException exception = new CurlException(null, cause);
    
            assertNull(exception.getMessage());
            assertSame(cause, exception.getCause());
        }
    
        @Test
        public void testConstructorWithMessageAndNullCause() {
            String message = "Test error message";
            CurlException exception = new CurlException(message, null);
    
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Thu Jul 31 01:01:12 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/MapMakerInternalMap.java

        private DummyInternalEntry() {
          throw new AssertionError();
        }
    
        @Override
        public DummyInternalEntry getNext() {
          throw new AssertionError();
        }
    
        @Override
        public int getHash() {
          throw new AssertionError();
        }
    
        @Override
        public Object getKey() {
          throw new AssertionError();
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 89.9K bytes
    - Click Count (0)
Back to Top