Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1391 - 1400 of 2,175 for match (0.02 sec)

  1. src/test/java/jcifs/context/SingletonContextTest.java

        void resetSingleton() {
            try {
                Field instance = SingletonContext.class.getDeclaredField("INSTANCE");
                instance.setAccessible(true);
                instance.set(null, null);
            } catch (NoSuchFieldException | IllegalAccessException e) {
                log.error("Failed to reset SingletonContext instance", e);
                fail("Failed to reset SingletonContext instance: " + e.getMessage());
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java

            try {
                Field f = target.getClass().getDeclaredField(name);
                f.setAccessible(true);
                f.set(target, value);
            } catch (Exception e) {
                fail("Failed to set field '" + name + "'", e);
            }
        }
    
        /**
         * Helper for getting a field via reflection.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt

            override fun onResponse(
              call: Call,
              response: Response,
            ) {
              val socket =
                try {
                  checkUpgradeSuccess(response)
                } catch (e: IOException) {
                  failWebSocket(e, response)
                  response.closeQuietly()
                  response.socket?.sink?.closeQuietly()
                  response.socket?.source?.closeQuietly()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 21.6K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/SequentialExchangeFinder.kt

              if (nextPlan != null) {
                routePlanner.deferredPlans.addFirst(nextPlan)
                continue
              }
            }
            return plan.handleSuccess()
          } catch (e: IOException) {
            if (firstException == null) {
              firstException = e
            } else {
              firstException.addSuppressed(e)
            }
            if (!routePlanner.hasNext()) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

            PreauthIntegrityNegotiateContext ctx = new PreauthIntegrityNegotiateContext();
            try {
                setPrivateField(ctx, "hashAlgos", new int[] { PreauthIntegrityNegotiateContext.HASH_ALGO_SHA512 });
            } catch (Exception e) {
                throw new RuntimeException(e);
            }
            return ctx;
        }
    
        private NegotiateContextRequest createMockEncryptionContext() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MediaType.kt

       */
      @JvmOverloads
      fun charset(defaultValue: Charset? = null): Charset? {
        val charset = parameter("charset") ?: return defaultValue
        return try {
          Charset.forName(charset)
        } catch (_: IllegalArgumentException) {
          defaultValue // This charset is invalid or unsupported. Give up.
        }
      }
    
      /**
       * Returns the parameter [name] of this media type, or null if this media type does not define
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:51:08 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/multichannel/ChannelInfoTest.java

        }
    
        @Test
        void testActivityTracking() {
            long initialTime = channelInfo.getLastActivityTime();
    
            // Wait a bit and update activity
            try {
                Thread.sleep(10);
            } catch (InterruptedException e) {
                Thread.currentThread().interrupt();
            }
    
            channelInfo.updateActivity();
            assertTrue(channelInfo.getLastActivityTime() > initialTime);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/role/AdminRoleAction.java

            getRole(form).ifPresent(entity -> {
                try {
                    roleService.store(entity);
                    saveInfo(messages -> messages.addSuccessCrudCreateCrudTable(GLOBAL));
                } catch (final Exception e) {
                    logger.warn("Failed to add {}", entity, e);
                    throwValidationError(messages -> messages.addErrorsCrudFailedToCreateCrudTable(GLOBAL, buildThrowableMessage(e)),
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/util/ResourceUtilTest.java

            try {
                Path path = ResourceUtil.getConfOrClassesPath("nonexistent.conf");
                fail("Should throw ResourceNotFoundRuntimeException for non-existent file");
            } catch (org.codelibs.core.exception.ResourceNotFoundRuntimeException e) {
                // Expected behavior - method throws exception for non-existent files
                assertTrue(e.getMessage().contains("nonexistent.conf"));
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

      protected abstract List<Class<? extends AbstractTester>> getTesters();
    
      private boolean matches(Test test) {
        Method method;
        try {
          method = extractMethod(test);
        } catch (IllegalArgumentException e) {
          logger.finer(Platform.format("%s: including by default: %s", test, e.getMessage()));
          return true;
        }
        if (suppressedTests.contains(method)) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top