Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,808 for try (0.02 sec)

  1. src/main/java/org/codelibs/core/sql/PreparedStatementUtil.java

         *             If a {@link SQLException} occurs.
         */
        public static ResultSet executeQuery(final PreparedStatement ps) throws SQLRuntimeException {
            assertArgumentNotNull("ps", ps);
    
            try {
                return ps.executeQuery();
            } catch (final SQLException ex) {
                throw new SQLRuntimeException(ex);
            }
        }
    
        /**
         * Executes the update.
         *
         * @param ps
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

            // This should not throw exception, just do nothing
            try {
                WebApiUtil.setObject("testKey", "testValue");
            } catch (Exception e) {
                fail("setObject should handle missing request gracefully: " + e.getMessage());
            }
        }
    
        public void test_setObject_withNullName() {
            // Test setObject with null name
            try {
                WebApiUtil.setObject(null, "testValue");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

            Integer nid = null;
            int max = NbtAddress.NBNS.length;
    
            if (max == 0) {
                max = 1; /* No WINs, try only bcast addr */
            }
    
            synchronized (response) {
                while (max-- > 0) {
                    try {
                        synchronized (LOCK) {
                            request.nameTrnId = getNextNameTrnId();
                            nid = request.nameTrnId;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java

         * Test AutoCloseable implementation
         */
        @Test
        @DisplayName("Test AutoCloseable implementation with try-with-resources")
        public void testAutoCloseableImpl() {
            String testPassword = "AutoCloseablePass123!";
            NtlmPasswordAuthenticator authRef;
    
            // Use try-with-resources
            try (NtlmPasswordAuthenticator auth = new NtlmPasswordAuthenticator("user", testPassword)) {
                authRef = auth;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

                @Override
                public void write(final int b) throws IOException {
                    if (b == '\n' || b == '\r' || buf.size() >= MAX_LEN) {
                        try {
                            final String msg = buf.toString(Constants.UTF_8);
                            if (StringUtil.isNotBlank(msg)) {
                                if (logger.isTraceEnabled()) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 23K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/EmlExtractorTest.java

                    });
            emlExtractor = container.getComponent("emlExtractor");
        }
    
        public void test_getText() throws IOException {
            try (final InputStream in = ResourceUtil.getResourceAsStream("extractor/eml/sample1.eml")) {
                ExtractData data = emlExtractor.getText(in, null);
                final String content = data.getContent();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/testing/GcFinalization.java

        // This class can make no hard guarantees.  The methods in this class are inherently flaky, but
        // we try hard to make them robust in practice.  We could additionally try to add in a system
        // load timeout multiplier.  Or we could try to use a CPU time bound instead of wall clock time
        // bound.  But these ideas are harder to implement.  We do not try to detect or handle a
        // user-specified -XX:+DisableExplicitGC.
        //
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. .github/bot_config.yml

       
         * If you have above configuration and using _**Windows**_ platform -
           * Try adding the CUDA, CUPTI, and cuDNN installation directories to the %PATH% environment variable.
           * Refer [windows setup guide](https://www.tensorflow.org/install/gpu#windows_setup).
         * If you have above configuration and using _**Ubuntu/Linux**_ platform -
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Jun 30 16:38:59 UTC 2025
    - 4K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java

            final ResponseData responseData = new ResponseData();
            try {
                responseData.setMethod(Constants.GET_METHOD);
                final String filePath = preprocessUri(uri);
                responseData.setUrl(filePath);
    
                File file = null;
                try {
                    file = new File(new URI(filePath));
                } catch (final URISyntaxException e) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/app/web/admin/design/AdminDesignActionTest.java

            assertEquals("<% a", AdminDesignAction.decodeJsp("<% a"));
            assertEquals("<%= a", AdminDesignAction.decodeJsp("<%= a"));
            assertEquals("<% try{ %>", AdminDesignAction.decodeJsp("<!--TRY-->"));
            assertEquals("<% }catch(Exception e){session.invalidate();} %>",
                    AdminDesignAction.decodeJsp("<!--CACHE_AND_SESSION_INVALIDATE-->"));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 2.1K bytes
    - Viewed (0)
Back to top