Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 952 for lengths (0.67 sec)

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

        }
    
        static boolean isDotQuadIP(final String hostname) {
            if (hostname != null && hostname.length() > 0 && Character.isDigit(hostname.charAt(0))) {
                int i, len, dots;
                char[] data;
    
                i = dots = 0; /* quick IP address validation */
                len = hostname.length();
                data = hostname.toCharArray();
                while (i < len && Character.isDigit(data[i++])) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java

            byte[] actualDescrBytes = new byte[expectedDescrBytes.length];
            System.arraycopy(dst, 2, actualDescrBytes, 0, expectedDescrBytes.length);
            assertArrayEquals(expectedDescrBytes, actualDescrBytes);
    
            // Verify level (0x0001 - 2 bytes)
            int descrEnd = 2 + expectedDescrBytes.length;
            assertEquals(0x01, dst[descrEnd]);
            assertEquals(0x00, dst[descrEnd + 1]);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/curl/CurlTest.java

        public void test_Get() {
            Curl.get("https://www.codelibs.org/").execute(response -> {
                final String content = response.getContentAsString();
                logger.info(content);
                assertTrue(content.length() > 0);
            }, e -> {
                logger.log(Level.SEVERE, "error", e);
                fail();
            });
        }
    
        @Test
        public void test_GetFactoryMethod() {
            // ## Arrange ##
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbFile.java

                final char[] out = new char[in.length];
                final int length = in.length;
                int i, o, state;
                final int s;
    
                /* The canonicalization routine
                 */
                state = 0;
                o = 0;
                for (i = 0; i < length; i++) {
                    switch (state) {
                    case 0:
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/SearchHelper.java

                        if (encoded.length() > fessConfig.getCookieSearchParameterMaxLengthAsInteger()) {
                            logger.warn("Encoded search parameters exceed the maximum cookie length: {} > {}. Skipping cookie storage.",
                                    encoded.length(), fessConfig.getCookieSearchParameterMaxLengthAsInteger());
                            return;
                        }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 20 05:56:45 UTC 2025
    - 36.3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/stream/StreamUtilTest.java

        public void test_ofNull() {
            assertEquals(0, (int) StreamUtil.stream().get(s -> s.toArray().length));
            Object[] o = {};
            assertEquals(0, (int) StreamUtil.stream(o).get(s -> s.toArray().length));
            Map<Object, Object> map = new HashMap<Object, Object>();
            assertEquals(0, (int) StreamUtil.stream(map).get(s -> s.toArray().length));
        }
    
        public void test_ofMap() {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/NtlmContextTest.java

            // State 2: Process Type 2 and generate Type 3
            byte[] type3Token = context.initSecContext(type2Token, 0, type2Token.length);
    
            assertNotNull(type3Token);
            assertTrue(type3Token.length > 0);
            assertTrue(context.isEstablished());
            assertArrayEquals(serverChallenge, context.getServerChallenge());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/rdma/Smb2RdmaTransform.java

        private int length; // 4 bytes: Length of buffer
    
        /**
         * Create SMB2 RDMA Transform
         *
         * @param offset offset within registered buffer
         * @param token RDMA provider token (steering tag/memory handle)
         * @param length length of buffer
         */
        public Smb2RdmaTransform(long offset, int token, int length) {
            this.offset = offset;
            this.token = token;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java

            byte[] smallBuffer = createValidNotificationBuffer(fileName, action);
            byte[] buffer = new byte[smallBuffer.length + offset + 50];
            System.arraycopy(smallBuffer, 0, buffer, offset, smallBuffer.length);
    
            int bytesRead = notifyInfo.decode(buffer, offset, smallBuffer.length);
    
            assertTrue(bytesRead > 0);
            assertEquals(action, notifyInfo.getAction());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXResponse.java

            final int start = bufferIndex;
    
            if (this.isExtendedSecurity()) {
                System.arraycopy(buffer, bufferIndex, this.blob, 0, this.blob.length);
                bufferIndex += this.blob.length;
            }
    
            this.nativeOs = readString(buffer, bufferIndex);
            bufferIndex += stringWireLength(this.nativeOs, bufferIndex);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.7K bytes
    - Viewed (0)
Back to top