Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 230 for onex (0.38 sec)

  1. src/test/java/jcifs/smb/SmbSessionImplTest.java

            // Next release goes below zero and throws
            RuntimeException ex = assertThrows(RuntimeCIFSException.class, session::release);
            assertTrue(ex.getMessage().contains("below zero"));
    
            // Only one transport release should have occurred
            verify(transport, times(1)).release();
        }
    
        @Test
        @DisplayName("acquire after release reacquires transport")
        void testAcquireReacquiresTransport() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/SmbCircuitBreakerTest.java

            assertEquals("success", result, "Operation should succeed");
            assertEquals(State.HALF_OPEN, circuitBreaker.getState(), "Circuit should be in HALF_OPEN");
    
            // One more success should close the circuit (threshold is 2)
            circuitBreaker.executeWithCircuitBreaker(() -> "success2");
            assertEquals(State.CLOSED, circuitBreaker.getState(), "Circuit should be CLOSED after success threshold");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbException.java

    public class SmbException extends CIFSException implements NtStatus, DosError, WinError {
    
        /**
         *
         */
        private static final long serialVersionUID = 484863569441792249L;
    
        // to replace a bunch of one-off binary searches
        private static final Map<Integer, String> errorCodeMessages;
        private static final Map<Integer, String> winErrorCodeMessages;
        private static final Map<Integer, Integer> dosErrorCodeStatuses;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/NetbiosAddress.java

     *
     * </blockquote>
     *
     *  * The hostname of this machine is <code>JMORRIS2</code>. It is
     * a member of the group(a.k.a workgroup and domain) <code>BILLING-NY</code>. To
     * obtain an {@link java.net.InetAddress} for a host one might do:
     *
     * <pre>
     *
     * InetAddress addr = NbtAddress.getByName("jmorris2").getInetAddress();
     * </pre>
     *
     *  * From a UNIX platform with Samba installed you can perform similar
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareEnumTest.java

            srvsvc.ShareInfo1 shareInfo = new srvsvc.ShareInfo1();
            shareInfo.netname = "SingleShare";
            shareInfo.type = 2;
            shareInfo.remark = "Single share remark";
    
            // Create ShareInfoCtr1 with one share
            srvsvc.ShareInfoCtr1 shareInfoCtr1 = new srvsvc.ShareInfoCtr1();
            shareInfoCtr1.count = 1;
            shareInfoCtr1.array = new srvsvc.ShareInfo1[] { shareInfo };
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java

        @Test
        @DisplayName("Test decode throws exception when length is too short")
        void testDecodeThrowsExceptionWhenLengthTooShort() {
            byte[] buffer = new byte[28];
    
            // Test with len = 23 (one byte too short)
            SMBProtocolDecodingException exception = assertThrows(SMBProtocolDecodingException.class, () -> response.decode(buffer, 0, 23),
                    "Should throw exception when length < 24");
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

                        this.handle = this.pipe.openUnshared("\\pipe" + getUncPath(), this.openFlags, this.access, this.sharing,
                                SmbConstants.ATTR_NORMAL, 0);
                    }
                    // one extra acquire to keep this open till the stream is released
                    return this.handle.acquire();
                }
    
            }
            log.trace("Pipe already open");
            return this.handle.acquire();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

            sessionsField.setAccessible(true);
            @SuppressWarnings("unchecked")
            List<Object> sessions = (List<Object>) sessionsField.get(first);
            sessions.add(new Object()); // Add one session to reach the limit
    
            // When: Request another connection
            SmbTransportImpl second = pool.getSmbTransport(ctx, address, 445, false);
    
            // Then: Should create new connection due to session limit
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/auth/chain/CommandChain.java

            if (commands == null || commands.length == 0) {
                throw new CommandExecutionException("Command array is null or empty. At least one command must be provided.");
            }
    
            // Log command template with masked password for security
            if (logger.isDebugEnabled()) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/service/DataConfigService.java

            return dataConfigBhv.selectByPK(id);
        }
    
        /**
         * Retrieves a data configuration by its name.
         *
         * <p>If multiple configurations exist with the same name, returns the first one
         * ordered by sort order ascending.</p>
         *
         * @param name the name of the data configuration to retrieve
         * @return an OptionalEntity containing the DataConfig if found, empty otherwise
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8K bytes
    - Viewed (0)
Back to top