Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 1,808 for try (0.02 sec)

  1. src/main/java/org/codelibs/fess/app/web/api/admin/elevateword/ApiAdminElevatewordAction.java

         * @return JSON response with deletion status
         */
        @Execute
        public JsonResponse<ApiResult> delete$setting(final String id) {
            try {
                elevateWordService.getElevateWord(id).ifPresent(entity -> {
                    try {
                        elevateWordService.delete(entity);
                        suggestHelper.deleteElevateWord(entity.getSuggestWord(), false);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/exec/SuggestCreatorTest.java

            try {
                SuggestCreator.Options options = new SuggestCreator.Options();
    
                // Setup minimal mock components
                setupMockComponents();
    
                Method processMethod = SuggestCreator.class.getDeclaredMethod("process", SuggestCreator.Options.class);
                processMethod.setAccessible(true);
    
                try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/netbios/NbtAddress.java

         * only. Natrually the <code>jcifs.smb1.netbios.nameserver</code> property must
         * be set.
         */
    
        public static final int P_NODE = 1;
    
        /**
         * Try Broadcast queries first, then try to resolve the name using the
         * nameserver.
         */
    
        public static final int M_NODE = 2;
    
        /**
         * A Hybrid node tries to resolve a name using the nameserver first. If
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.7K bytes
    - Viewed (0)
  4. docs/debugging/inspect/utils.go

    func bytesToPrivateKey(priv []byte) (*rsa.PrivateKey, error) {
    	// Try PEM
    	if block, _ := pem.Decode(priv); block != nil {
    		return x509.ParsePKCS1PrivateKey(block.Bytes)
    	}
    	// Try base 64
    	dst := make([]byte, base64.StdEncoding.DecodedLen(len(priv)))
    	if n, err := base64.StdEncoding.Decode(dst, priv); err == nil {
    		return x509.ParsePKCS1PrivateKey(dst[:n])
    	}
    	// Try Raw, return error
    	return x509.ParsePKCS1PrivateKey(priv)
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Nov 02 20:36:38 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaConnection.java

         */
        public TcpRdmaConnection(InetSocketAddress remote, InetSocketAddress local) {
            super(remote, local);
        }
    
        @Override
        public void connect() throws IOException {
            try {
                socketChannel = SocketChannel.open();
                if (localAddress != null) {
                    socketChannel.bind(localAddress);
                }
    
                socketChannel.connect(remoteAddress);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  6. api/maven-api-di/src/main/java/org/apache/maven/di/tool/DiIndexProcessor.java

            String existingContent = "";
    
            // Try to read existing content
            try {
                FileObject inputFile = processingEnv.getFiler().getResource(StandardLocation.CLASS_OUTPUT, "", path);
                try (BufferedReader reader = new BufferedReader(new InputStreamReader(inputFile.openInputStream()))) {
                    String line;
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

                AtomicInteger successCount = new AtomicInteger(0);
                AtomicInteger failureCount = new AtomicInteger(0);
    
                // Submit tasks that try to sign data
                for (int i = 0; i < 5; i++) {
                    executor.submit(() -> {
                        try {
                            startLatch.await();
                            byte[] data = new byte[128];
                            // Initialize with proper SMB2 header
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/exception/LdapConfigurationExceptionTest.java

            assertNotSame(exception1, exception3);
        }
    
        public void test_throwAndCatch() {
            // Test throwing and catching the exception
            String errorMessage = "LDAP server not reachable";
    
            try {
                throw new LdapConfigurationException(errorMessage);
            } catch (LdapConfigurationException e) {
                assertEquals(errorMessage, e.getMessage());
                assertNull(e.getCause());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/util/Crypto.java

            try {
                return MessageDigest.getInstance("MD4", getProvider());
            } catch (final NoSuchAlgorithmException e) {
                throw new CIFSUnsupportedCryptoException(e);
            }
        }
    
        /**
         * Get an MD5 message digest instance.
         * @return MD5 digest instance
         */
        public static MessageDigest getMD5() {
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  10. 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)
Back to top