Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 94 for textlength (0.06 seconds)

  1. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Request.java

         */
        @Override
        public int encode(final byte[] dst, final int dstIndex) {
            final int len = super.encode(dst, dstIndex);
            final int exp = size();
            final int actual = getLength();
            if (exp != actual) {
                // Log the size mismatch for debugging but don't throw exception
                // This can occur due to padding alignment differences between size8() and pad8()
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Mon Aug 25 14:34:10 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java

            assertEquals(0L, info.lastModified());
            assertEquals(0L, info.lastAccess());
        }
    
        @Test
        @DisplayName("Test length always returns 0")
        void testLength() {
            // Default instance
            assertEquals(0L, shareInfo.length());
    
            // Instance with values - length is still 0
            SmbShareInfo info = new SmbShareInfo(TEST_NET_NAME, TEST_TYPE, TEST_REMARK);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  3. apache-maven/src/assembly/maven/bin/JvmConfigParser.java

                    // Space outside quotes - end of argument
                    if (current.length() > 0) {
                        args.add(current.toString());
                        current.setLength(0);
                    }
                } else {
                    current.append(c);
                }
            }
    
            // Add last argument
            if (current.length() > 0) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Dec 10 16:40:06 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt

        /** Returns the unbuffered stream with the value for [index]. */
        fun getSource(index: Int): Source = sources[index]
    
        /** Returns the byte length of the value for [index]. */
        fun getLength(index: Int): Long = lengths[index]
    
        override fun close() {
          for (source in sources) {
            source.closeQuietly()
          }
        }
      }
    
      /** Edits the values for an entry. */
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 34.7K bytes
    - Click Count (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/MessageBuilder.java

        }
    
        /**
         * Set the buffer length.
         *
         * @param length the new length
         * @return the current builder
         */
        MessageBuilder setLength(int length);
    
        /**
         * Return the built message.
         *
         * @return the message
         */
        @Nonnull
        String build();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Nov 02 09:29:52 GMT 2024
    - 7.6K bytes
    - Click Count (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/StringSearchModelInterpolator.java

                }
    
                return !"parent".equals(field.getName());
            }
    
            private void evaluateArray(Object target) throws ModelInterpolationException {
                int len = Array.getLength(target);
                for (int i = 0; i < len; i++) {
                    Object value = Array.get(target, i);
                    if (value != null) {
                        if (String.class == value.getClass()) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/job/LogNotificationJob.java

                        .append(" - ")
                        .append(message)
                        .append('\n');
                if (sb.length() > maxDetailsLength) {
                    sb.setLength(maxDetailsLength);
                    break;
                }
            }
    
            if (totalCount > displayCount) {
                sb.append("... and ").append(totalCount - displayCount).append(" more\n");
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 9.4K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/ds/DataStoreFactory.java

                        final Document doc = builder.parse(is);
                        final NodeList nodeList = doc.getElementsByTagName("component");
                        for (int i = 0; i < nodeList.getLength(); i++) {
                            final Node node = nodeList.item(i);
                            final NamedNodeMap attributes = node.getAttributes();
                            if (attributes != null) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 9K bytes
    - Click Count (0)
  9. src/test/java/jcifs/pac/PacDataInputStreamTest.java

            byte[] data = new byte[] { 0x04, 0x00, 0x04, 0x00, 0x34, 0x12, 0x00, 0x00 };
            PacDataInputStream pdis = createInputStream(data);
            PacUnicodeString str = pdis.readUnicodeString();
            assertEquals(4, str.getLength());
            assertEquals(4, str.getMaxLength());
            assertEquals(0x1234, str.getPointer());
        }
    
        @Test
        public void testReadUnicodeStringMalformed() throws IOException {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoDescriptorCreator.java

                // repository.
    
                plugin = findPluginForPrefix(prefix, session);
            }
    
            int executionIdx = goal.indexOf("@");
            if (executionIdx > 0) {
                goal.setLength(executionIdx);
            }
    
            injectPluginDeclarationFromProject(plugin, project);
    
            // If there is no version to be found then we need to look in the repository metadata for
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 11.3K bytes
    - Click Count (0)
Back to Top