Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 1,808 for Try (0.03 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbSession.java

                        return;
                    }
                    try {
                        transport.wait();
                    } catch (final InterruptedException ie) {
                        throw new SmbException(ie.getMessage(), ie);
                    }
                }
                connectionState = 1; // trying ...
    
                try {
                    transport.connect();
    
                    /*
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/storage/StorageClient.java

            if (StringUtil.isBlank(secretKey)) {
                throw new CrawlingAccessException("secretKey is blank.");
            }
            builder.credentials(accessKey, secretKey);
            try {
                minioClient = builder.build();
            } catch (final Exception e) {
                throw new CrawlingAccessException("Failed to create MinioClient(" + endpoint + ")", e);
            }
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 17.9K bytes
    - Viewed (2)
  3. android/guava-tests/test/com/google/common/math/DoubleMathTest.java

            boolean isInBounds =
                expected.compareTo(MAX_INT_AS_BIG_DECIMAL) <= 0
                    & expected.compareTo(MIN_INT_AS_BIG_DECIMAL) >= 0;
    
            try {
              assertEquals(expected.intValue(), DoubleMath.roundToInt(d, mode));
              assertTrue(isInBounds);
            } catch (ArithmeticException e) {
              assertFalse(isInBounds);
            }
          }
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

        }
    
        void awaitHealthy() {
          monitor.enterWhenUninterruptibly(awaitHealthGuard);
          try {
            checkHealthy();
          } finally {
            monitor.leave();
          }
        }
    
        void awaitHealthy(long timeout, TimeUnit unit) throws TimeoutException {
          monitor.enter();
          try {
            if (!monitor.waitForUninterruptibly(awaitHealthGuard, timeout, unit)) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 33.2K bytes
    - Viewed (1)
  5. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndXResponse.java

            // Fortunately we don't really need nativeFileSystem for anything.
            // However, we'll try to read it safely for compatibility
            if (this.byteCount > bufferIndex - start) {
                try {
                    // Attempt to read nativeFileSystem, but don't fail if there are issues
                    final int fsLen = this.byteCount - (bufferIndex - start);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/pac/kerberos/KerberosApRequest.java

            if (token.length <= 0) {
                throw new PACDecodingException("Empty kerberos ApReq");
            }
    
            ASN1Sequence sequence;
            try {
                try (ASN1InputStream stream = new ASN1InputStream(new ByteArrayInputStream(token))) {
                    sequence = ASN1Util.as(ASN1Sequence.class, stream);
                }
            } catch (IOException e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/util/SimpleCircuitBreakerTest.java

        }
    
        @Test
        @DisplayName("Test circuit opens after failure threshold")
        void testCircuitOpensAfterThreshold() {
            // Fail 3 times to open the circuit
            for (int i = 0; i < 3; i++) {
                try {
                    circuitBreaker.call(() -> {
                        throw new RuntimeException("Test failure");
                    });
                } catch (Exception e) {
                    // Expected
                }
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.java

        expectUnchanged();
        expectMissing(e3());
      }
    
      @MapFeature.Require(absent = SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testPutIfAbsent_unsupportedPresentExistingValue() {
        try {
          assertEquals(
              "putIfAbsent(present, existingValue) should return present or throw",
              v0(),
              getMap().putIfAbsent(k0(), v0()));
        } catch (UnsupportedOperationException tolerated) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SIDCacheImpl.java

            MsrpcQueryInformationPolicy rpc;
    
            synchronized (this.sidCache) {
                try (DcerpcHandle handle = DcerpcHandle.getHandle("ncacn_np:" + server + "[\\PIPE\\lsarpc]", tc)) {
                    // NetApp doesn't like the 'generic' access mask values
                    try (LsaPolicyHandle policyHandle = new LsaPolicyHandle(handle, null, 0x00000001)) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorTest.java

        private static final String ID_FIELD = "_id";
    
        public void test_default_1000docs_10size() throws Exception {
            String query = "*";
            int allRecordCount = 1000;
            int pageSize = 10;
            try (RankFusionProcessor rankFusionProcessor = new RankFusionProcessor()) {
                rankFusionProcessor.setSeacher(new TestMainSearcher(allRecordCount));
                rankFusionProcessor.init();
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 25.6K bytes
    - Viewed (0)
Back to top