Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for getLength (0.34 sec)

  1. src/main/java/org/codelibs/fess/helper/PluginHelper.java

                final NodeList snapshotNodeList = doc.getElementsByTagName("snapshot");
                if (snapshotNodeList.getLength() > 0) {
                    final NodeList nodeList = snapshotNodeList.item(0).getChildNodes();
                    for (int i = 0; i < nodeList.getLength(); i++) {
                        final Node node = nodeList.item(i);
                        if ("timestamp".equalsIgnoreCase(node.getNodeName())) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 16.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/xml/DomUtil.java

        public static void appendChildren(final NodeList children, final StringBuilder buf) {
            assertArgumentNotNull("children", children);
            assertArgumentNotNull("buf", buf);
    
            final int length = children.getLength();
            for (int i = 0; i < length; ++i) {
                appendNode(children.item(i), buf);
            }
        }
    
        /**
         * {@link NamedNodeMap}の文字列表現を追加します。
         *
         * @param attrs
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

        protected void parseTextContent(final Node node, final StringBuilder buf) {
            if (node.hasChildNodes()) {
                final NodeList nodeList = node.getChildNodes();
                for (int i = 0; i < nodeList.getLength(); i++) {
                    final Node childNode = nodeList.item(i);
                    parseTextContent(childNode, buf);
                }
            } else if (node.getNodeType() == Node.TEXT_NODE) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 41.9K bytes
    - Viewed (0)
  4. okhttp/src/main/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. */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 34.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/collection/ArrayUtil.java

            assertArgumentNotNull("array", array);
            assertArgument("array", array.getClass().isArray(), MessageFormatter.getSimpleMessage("ECL0104", array));
    
            final int length = Array.getLength(array);
            final Object[] objectArray = new Object[length];
            for (int i = 0; i < length; i++) {
                objectArray[i] = Array.get(array, i);
            }
            return objectArray;
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  6. cmd/object-api-utils.go

    			return nil, 0, 0, err
    		}
    		var decSize int64
    		decSize, err = oi.DecryptedSize()
    		if err != nil {
    			return nil, 0, 0, err
    		}
    		var decRangeLength int64
    		decRangeLength, err = rs.GetLength(decSize)
    		if err != nil {
    			return nil, 0, 0, err
    		}
    
    		// We define a closure that performs decryption given
    		// a reader that returns the desired range of
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  7. src/main/java/org/codelibs/core/lang/MethodUtil.java

            if (argTypes != null && argTypes.length > 0) {
                for (final Class<?> argType : argTypes) {
                    buf.append(argType.getName()).append(", ");
                }
                buf.setLength(buf.length() - 2);
            }
            buf.append(")");
            return new String(buf);
        }
    
        /**
         * シグニチャの文字列表現を返します。
         *
         * @param methodName
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/ViewHelper.java

                regexQueries[i] = Pattern.quote(queries[i]);
                hlQueries[i] = highlightTagPre + queries[i] + highlightTagPost;
            }
            while (m.find()) {
                segBuf.setLength(0);
                m.appendReplacement(segBuf, StringUtil.EMPTY);
                String segment = segBuf.toString();
                for (int i = 0; i < queries.length; i++) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 40.1K bytes
    - Viewed (2)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultInheritanceAssembler.java

                    if (pathStartsWithSlash) {
                        if (initialUrlEndsWithSlash) {
                            // 1 extra '/' to remove
                            url.setLength(url.length() - 1);
                        }
                    } else if (!initialUrlEndsWithSlash) {
                        // add missing '/' between url and path
                        url.append('/');
                    }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/cache2/Relay.kt

          val result = Relay(randomAccessFile, upstream, 0L, metadata, bufferMaxSize)
    
          // Write a dirty header. That way if we crash we won't attempt to recover this.
          randomAccessFile.setLength(0L)
          result.writeHeader(PREFIX_DIRTY, -1L, -1L)
    
          return result
        }
    
        /**
         * Creates a relay that reads a recorded stream from [file].
         *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.8K bytes
    - Viewed (0)
Back to top