Search Options

Results per page
Sort
Preferred Languages
Advance

Results 401 - 410 of 959 for lengths (2.08 sec)

  1. src/main/java/org/codelibs/core/lang/ThreadUtil.java

        }
    
        /**
         * Causes the currently executing thread to sleep (temporarily cease execution) for the specified number of milliseconds.
         *
         * @param millis
         *            the length of time to sleep in milliseconds
         * @throws InterruptedRuntimeException
         *             if any thread has interrupted the current thread.
         */
        public static void sleep(final long millis) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/opensearch/config/bsentity/BsAccessToken.java

            sb.append(dm).append(permissions);
            sb.append(dm).append(token);
            sb.append(dm).append(updatedBy);
            sb.append(dm).append(updatedTime);
            if (sb.length() > dm.length()) {
                sb.delete(0, dm.length());
            }
            sb.insert(0, "{").append("}");
            return sb.toString();
        }
    
        // ===================================================================================
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/SmbComDeleteDirectoryTest.java

            byte[] expected = new byte[1 + dirName.length() + 1];
            expected[0] = 0x04; // buffer format
            System.arraycopy(dirName.getBytes(), 0, expected, 1, dirName.length());
            expected[dirName.length() + 1] = 0x00; // null terminator
    
            byte[] dst = new byte[100];
            int len = sdd.writeBytesWireFormat(dst, 0);
    
            assertEquals(expected.length, len);
    
            byte[] result = new byte[len];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/opensearch/config/bsentity/BsWebConfig.java

            sb.append(dm).append(updatedTime);
            sb.append(dm).append(urls);
            sb.append(dm).append(userAgent);
            sb.append(dm).append(virtualHosts);
            if (sb.length() > dm.length()) {
                sb.delete(0, dm.length());
            }
            sb.insert(0, "{").append("}");
            return sb.toString();
        }
    
        // ===================================================================================
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SID.java

         * @param length the number of SIDs to resolve
         * @throws IOException if there is an error resolving the SIDs
         */
        static public void resolveSids(final String authorityServerName, final NtlmPasswordAuthentication auth, SID[] sids, final int offset,
                final int length) throws IOException {
            final ArrayList list = new ArrayList(sids.length);
            int si;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaConnection.java

                // sge.setLength(length);
                // sge.setLkey(disniRegion.getLocalKey());
                // sgeList.add(sge);
                //
                // readWR.setSg_list(sgeList);
                // endpoint.postSend(Arrays.asList(readWR)).execute().free();
    
                log.debug("DiSNI RDMA read completed, {} bytes", length);
    
            } catch (Exception e) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/DfsImpl.java

            if (path == null || path.length() <= 1) {
                /*
                 * Lookup the domain based DFS root target referral. Note the
                 * path is just "\" and not "\example.com\root".
                 */
                link = "\\";
            } else if (path.charAt(path.length() - 1) == '\\') {
                // strip trailing slash
                link = path.substring(0, path.length() - 1);
            } else {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 29.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/com/LockingAndXRange.java

         *
         * @return the starting byte offset
         */
        public long getByteOffset() {
            return this.byteOffset;
        }
    
        /**
         * Returns the byte length of the lock range.
         *
         * @return the byte length of the range
         */
        public long getLengthInBytes() {
            return this.lengthInBytes;
        }
    
        /**
         * {@inheritDoc}
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/SmbNegotiationTest.java

            assertSame(emptyResponseBuffer, negotiationWithEmptyBuffers.getResponseRaw());
            assertEquals(0, negotiationWithEmptyBuffers.getRequestRaw().length);
            assertEquals(0, negotiationWithEmptyBuffers.getResponseRaw().length);
        }
    
        @Test
        @DisplayName("Test with large buffers")
        void testWithLargeBuffers() {
            // Test with large byte arrays
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java

        private String readString(byte[] buffer, int offset, int maxLength) {
            int length = 0;
            for (int i = offset; i < offset + maxLength && i < buffer.length; i++) {
                if (buffer[i] == 0) {
                    break;
                }
                length++;
            }
            return new String(buffer, offset, length);
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
Back to top