Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1221 - 1230 of 3,507 for Int (0.01 sec)

  1. src/main/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequest.java

         */
        @Override
        public int size() {
            return size8(Smb2Constants.SMB2_HEADER_LENGTH + 4);
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#writeBytesWireFormat(byte[], int)
         */
        @Override
        protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) {
            SMBUtil.writeInt2(4, dst, dstIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/AuthenticationRateLimiterTest.java

            try {
                final int numThreads = 10;
                final int attemptsPerThread = 5;
    
                Thread[] threads = new Thread[numThreads];
                final AtomicInteger successfulThreads = new AtomicInteger(0);
                final AtomicInteger blockedAttempts = new AtomicInteger(0);
                final AtomicInteger exceptionCount = new AtomicInteger(0);
    
                for (int i = 0; i < numThreads; i++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/pac/PacMacTest.java

            assertEquals(32, derivedKey256.length);
        }
    
        /**
         * Test method for {@link jcifs.pac.PacMac#expandNFold(byte[], int)}.
         */
        @Test
        void testExpandNFold() {
            // Test basic functionality
            byte[] data = { 1, 2, 3 };
            int outlen = 5;
            byte[] expanded = PacMac.expandNFold(data, outlen);
            assertNotNull(expanded);
            assertEquals(outlen, expanded.length);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/TextUtilTest.java

            assertEquals("123# !$", normalizeText(" 123#123!$123  ", 100, -1, -1, true));
        }
    
        public static String normalizeText(final String str, final int initialCapacity, final int maxAlphanumTermSize,
                final int maxSymbolTermSize, final boolean removeDuplication) {
            if (str == null) {
                return StringUtil.EMPTY;
            }
            try (final Reader reader = new StringReader(str)) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ImmutableListTest.java

        assertEquals(0x000000, (int) webSafeColorArray[0]);
        assertEquals(0x000033, (int) webSafeColorArray[1]);
        assertEquals(0x000066, (int) webSafeColorArray[2]);
        assertEquals(0x003300, (int) webSafeColorArray[6]);
        assertEquals(0x330000, (int) webSafeColorArray[36]);
        assertEquals(0x000066, (int) webSafeColors.get(2));
        assertEquals(0x003300, (int) webSafeColors.get(6));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/Config.java

         * </blockquote>
         */
        public static void registerSmbURLHandler() {
            SingletonContext.registerSmbURLHandler();
        }
    
        /**
         * Retrieve an <code>int</code>. If the key does not exist or
         * cannot be converted to an <code>int</code>, the provided default
         * argument will be returned.
         *
         * @param props the properties to search in
         * @param key the property key to look up
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/https/HandlerTest.java

            }
    
            @Test
            @DisplayName("Should return consistent port value")
            void testPortConsistency() {
                // When
                int port1 = handler.getDefaultPort();
                int port2 = handler.getDefaultPort();
                int port3 = handler.getDefaultPort();
    
                // Then
                assertEquals(port1, port2);
                assertEquals(port2, port3);
                assertEquals(443, port1);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/DcerpcExceptionTest.java

    import org.junit.jupiter.api.Test;
    
    class DcerpcExceptionTest {
    
        /**
         * Test constructor DcerpcException(int error) with a known error code.
         */
        @Test
        void testConstructorWithError_knownCode() {
            int errorCode = DcerpcError.DCERPC_FAULT_ACCESS_DENIED;
            DcerpcException exception = new DcerpcException(errorCode);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpAuthentication.java

        }
    
        /**
         * Returns the port number.
         * @return The port number.
         */
        public int getPort() {
            return port;
        }
    
        /**
         * Sets the port number.
         * @param port The port number.
         */
        public void setPort(final int port) {
            this.port = port;
        }
    
        /**
         * Returns the username.
         * @return The username.
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/NameServiceClientTest.java

        }
    
        @Test
        void testGetNbtAllByAddress_StringIntString() throws UnknownHostException {
            // Arrange
            String host = "testHost";
            int type = 0x20;
            String scope = "testScope";
            NetbiosAddress[] expectedAddresses = { mock(NetbiosAddress.class) };
            when(nameServiceClient.getNbtAllByAddress(host, type, scope)).thenReturn(expectedAddresses);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.4K bytes
    - Viewed (0)
Back to top