- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for getLength (0.17 sec)
-
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) -
cmd/httprange.go
type HTTPRangeSpec struct { // Does the range spec refer to a suffix of the object? IsSuffixLength bool // Start and end offset specified in range spec Start, End int64 } // GetLength - get length of range func (h *HTTPRangeSpec) GetLength(resourceSize int64) (rangeLength int64, err error) { switch { case resourceSize < 0: return 0, errors.New("Resource size cannot be negative") case h == nil:
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun May 05 16:56:21 GMT 2024 - 5.9K bytes - Viewed (0) -
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) -
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) {
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 5.1K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt
} private fun Snapshot.assertValue( index: Int, value: String, ) { getSource(index).use { source -> assertThat(sourceAsString(source)).isEqualTo(value) assertThat(getLength(index)).isEqualTo(value.length.toLong()) } } private fun sourceAsString(source: Source) = source.buffer().readUtf8() private fun Editor.assertInoperable() {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 15 14:55:09 GMT 2024 - 75.8K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/DefaultMessageBuilder.java
return this; } @Override public MessageBuilder append(char c) { buffer.append(c); return this; } @Override public MessageBuilder setLength(int length) { buffer.setLength(length); return this; } @Override @Nonnull public String build() { return buffer.toString(); } @Override public String toString() {
Java - Registered: Sun Mar 24 03:35:10 GMT 2024 - Last Modified: Mon Jan 08 10:37:09 GMT 2024 - 2.1K bytes - Viewed (0)