Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 1,748 for LENGTH (0.11 sec)

  1. src/main/java/jcifs/SmbRandomAccess.java

         */
        void seek(long pos);
    
        /**
         * Get the current file length
         *
         * @return file length
         * @throws SmbException if an I/O error occurs
         */
        long length() throws SmbException;
    
        /**
         * Expand/truncate file length
         *
         * @param newLength
         *            new file length
         * @throws SmbException if an I/O error occurs
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/io/Smb2ReadRequest.java

         *
         * @param remoteKey remote memory key
         * @param address remote memory address
         * @param length length of memory region
         */
        public void addRdmaChannelInfo(int remoteKey, long address, int length) {
            this.rdmaChannelInfo = new RdmaChannelInfo(remoteKey, address, length);
            this.channel = Smb2Constants.SMB2_CHANNEL_RDMA_V1;
        }
    
        /**
         * Get RDMA channel information
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  3. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/SmbResourceTest.java

                when(mockResource.length()).thenReturn(expectedLength);
                when(mockResource.getDiskFreeSpace()).thenReturn(expectedFreeSpace);
    
                // When
                long length = mockResource.length();
                long freeSpace = mockResource.getDiskFreeSpace();
    
                // Then
                assertEquals(expectedLength, length, "Should return correct file length");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/entity/SearchRequestParamsTest.java

            assertEquals(3, result.length);
            assertEquals("a", result[0]);
            assertEquals("b", result[1]);
            assertEquals("c", result[2]);
        }
    
        public void test_simplifyArray_withBlanks() {
            String[] input = { "a", "", "b", "  ", null, "c" };
            String[] result = SearchRequestParams.simplifyArray(input);
            assertEquals(3, result.length);
            assertEquals("a", result[0]);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/SearchHelperTest.java

                if (languages.length > 0) {
                    boolean hasEn = false;
                    for (String lang : languages) {
                        if ("en".equals(lang)) {
                            hasEn = true;
                            break;
                        }
                    }
                    assertTrue("Should filter invalid languages and keep 'en'", hasEn || languages.length >= 0);
                }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java

        }
    
        /**
         * Returns the length of data in the buffer.
         *
         * @return the data length
         */
        public int getLength() {
            return this.deferred.length;
        }
    
        /**
         * Sets the length of data in the buffer.
         *
         * @param length the new data length
         */
        public void setLength(final int length) {
            this.deferred.length = length;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/base/StringsRepeatBenchmark.java

          if (x.length() != (originalString.length() * count)) {
            throw new RuntimeException("Wrong length: " + x);
          }
        }
      }
    
      private static String oldRepeat(String string, int count) {
        // If this multiplication overflows, a NegativeArraySizeException or
        // OutOfMemoryError is not far behind
        int len = string.length();
        int size = len * count;
        char[] array = new char[size];
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  9. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/netbios/SessionServicePacket.java

            dstIndex++;
            if (this.length > 0x0000FFFF) {
                dst[dstIndex] = (byte) 0x01;
            }
            dstIndex++;
            writeInt2(this.length, dst, dstIndex);
            return HEADER_LENGTH;
        }
    
        int readHeaderWireFormat(final InputStream in, final byte[] buffer, int bufferIndex) {
            this.type = buffer[bufferIndex] & 0xFF;
            bufferIndex++;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
Back to top