Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 691 - 700 of 5,478 for newE (0.04 seconds)

  1. src/main/java/org/codelibs/core/xml/DomUtil.java

            assertArgumentNotNull("contents", contents);
    
            if (encoding == null) {
                return new ByteArrayInputStream(contents.getBytes());
            }
            try {
                return new ByteArrayInputStream(contents.getBytes(encoding));
            } catch (final UnsupportedEncodingException ex) {
                throw new IORuntimeException(ex);
            }
        }
    
        /**
         * Encodes the value of an attribute.
         *
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/app/web/api/admin/dict/mapping/ApiAdminDictMappingAction.java

                    .status(ApiResult.Status.OK)
                    .result());
        }
    
        /**
         * Create a new character mapping entry for the specified dictionary.
         *
         * @param dictId identifier of the dictionary
         * @param body create request payload
         * @return JSON response containing creation result and new entry ID
         */
        // POST /api/admin/dict/mapping/setting/{dictId}
        @Execute
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  3. compat/maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemTest.java

            problem = new DefaultProblem(null, null, null, -1, Integer.MIN_VALUE, null);
            assertEquals(Integer.MIN_VALUE, problem.getColumnNumber());
        }
    
        @Test
        void testGetException() {
            DefaultProblem problem = new DefaultProblem(null, null, null, -1, -1, null);
            assertNull(problem.getException());
    
            Exception e = new Exception();
            problem = new DefaultProblem(null, null, null, -1, -1, e);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.9K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb/SmbFileTest.java

            // Create URL handler
            Handler urlHandler = new jcifs.smb.Handler(mockCifsContext);
            when(mockCifsContext.getUrlHandler()).thenReturn(urlHandler);
    
            // Use the URL handler to create the URL
            url = new URL(null, "smb://localhost/share/file.txt", urlHandler);
    
            smbFile = spy(new SmbFile(url, mockCifsContext));
    
            // Prevent network operations by default
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.8K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb/SSPContextTest.java

                // Arrange
                ASN1ObjectIdentifier mech1 = new ASN1ObjectIdentifier("1.2.840.113554.1.2.2"); // Kerberos V5
                ASN1ObjectIdentifier mech2 = new ASN1ObjectIdentifier("1.3.6.1.5.5.2"); // SPNEGO
                DummySSPContext ctx =
                        new DummySSPContext(new byte[] { 1, 2, 3 }, true, "NBHOST", new ASN1ObjectIdentifier[] { mech1, mech2 }, 0xA5, true);
    
                // Act & Assert
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.2K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb1/smb1/SmbComReadAndXResponseTest.java

        @BeforeEach
        public void setUp() {
            response = new SmbComReadAndXResponse();
        }
    
        @Test
        public void testConstructor() {
            assertNotNull(response);
        }
    
        @Test
        public void testConstructorWithParameters() {
            byte[] b = new byte[0];
            response = new SmbComReadAndXResponse(b, 0);
            assertNotNull(response);
            assertEquals(b, response.b);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  7. src/test/java/jcifs/dcerpc/msrpc/SamrPolicyHandleTest.java

            int access = 123;
    
            // No exception thrown by sendrecv for MsrpcSamrConnect4
            doNothing().when(mockHandle).sendrecv(any(MsrpcSamrConnect4.class));
    
            try (SamrPolicyHandle handle = new SamrPolicyHandle(mockHandle, server, access)) {
                assertNotNull(handle);
                // Verify that sendrecv was called with MsrpcSamrConnect4
                verify(mockHandle, times(1)).sendrecv(any(MsrpcSamrConnect4.class));
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/impl/MimeTypeHelperImpl.java

            } catch (final Exception e) {
                throw new CrawlerSystemException("Could not initialize MimeTypeHelper.", e);
            }
        }
    
        @Override
        public String getContentType(final InputStream is, final String filename) {
            final Map<String, String> params = new HashMap<>();
            params.put(ExtractData.RESOURCE_NAME_KEY, filename);
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sun Nov 23 12:19:14 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb1/UniAddressTest.java

            // Act
            UniAddress ua = new UniAddress(dummy);
            // Assert
            assertSame(dummy, ua.getAddress(), "constructor should store the supplied address");
        }
    
        @Test
        void constructorRejectsNull() {
            // Expect constructor to throw IllegalArgumentException when passed null
            assertThrows(IllegalArgumentException.class, () -> new UniAddress(null));
        }
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/ProtoSession.java

            try {
                return new Builder(
                        getUserProperties(), getSystemProperties(), getStartTime(), getTopDirectory(), getRootDirectory());
            } catch (IllegalStateException e) {
                return new Builder(getUserProperties(), getSystemProperties(), getStartTime(), getTopDirectory(), null);
            }
        }
    
        /**
         * Returns new builder from scratch.
         */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jul 03 14:18:26 GMT 2025
    - 7.5K bytes
    - Click Count (0)
Back to Top