- Sort Score
- Result 10 results
- Languages All
Results 1171 - 1180 of 1,626 for lengths (0.09 sec)
-
android/guava-tests/test/com/google/common/io/LittleEndianDataInputStreamTest.java
} public void testReadFully() throws IOException { DataInput in = new LittleEndianDataInputStream(new ByteArrayInputStream(data)); byte[] b = new byte[data.length]; in.readFully(b); assertEquals(Bytes.asList(data), Bytes.asList(b)); } public void testReadUnsignedByte_eof() throws IOException {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 4.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/LittleEndianDataInputStreamTest.java
} public void testReadFully() throws IOException { DataInput in = new LittleEndianDataInputStream(new ByteArrayInputStream(data)); byte[] b = new byte[data.length]; in.readFully(b); assertEquals(Bytes.asList(data), Bytes.asList(b)); } public void testReadUnsignedByte_eof() throws IOException {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 4.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/DirFileEntryEnumIterator2.java
Smb2QueryDirectoryRequest query = new Smb2QueryDirectoryRequest(th.getConfig(), this.fileId); query.setFileName(this.getWildcard()); query.setFileIndex(results[ results.length - 1 ].getFileIndex()); query.setQueryFlags(Smb2QueryDirectoryRequest.SMB2_INDEX_SPECIFIED); try { Smb2QueryDirectoryResponse r = th.send(query);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Dec 20 16:15:08 UTC 2020 - 5.7K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/Striped.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jun 26 12:58:35 UTC 2024 - 20.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/publicsuffix/PublicSuffixListGenerator.kt
"""Wildcard Assertion Failure: '$rule' A wildcard rule was added with multiple wildcards! We'll need to change ${PublicSuffixDatabase::class.java.name} to handle this.""" } check(rule.length != 1) { """Wildcard Assertion Failure: '$rule' A wildcard rule was added that wildcards the first level! We'll need to change the ${PublicSuffixDatabase::class.java.name} to handle this.""" } }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Apr 18 01:24:38 UTC 2024 - 6K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java
int maxChars = (int) (size.get().intValue() * cs.newDecoder().maxCharsPerByte()); char[] buffer = new char[maxChars]; int bufIndex = 0; int remaining = buffer.length; try (InputStreamReader reader = new InputStreamReader(byteSource.openStream(), cs)) { int nRead = 0; while (remaining > 0 && (nRead = reader.read(buffer, bufIndex, remaining)) != -1) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 10 19:45:10 UTC 2022 - 5.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/user/allcommon/EsAbstractEntity.java
// ============ protected String convertEmptyToNull(String value) { return (value != null && value.length() == 0) ? null : value; } // =================================================================================== // Source
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 10.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java
builder.put("a", 5); builder.orderKeysBy( new Ordering<String>() { @Override public int compare(String left, String right) { return left.length() - right.length(); } }); builder.put("cc", 4); builder.put("a", 2); builder.put("bb", 6); ImmutableSetMultimap<String, Integer> multimap = builder.build();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 26.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java
builder.add(BEFORE_FIRST); builder.add(elements); builder.add(AFTER_LAST); return builder.build().asList().subList(1, elements.length + 1); } } public static class ImmutableSortedSetSubsetAsListSubListGenerator extends TestStringListGenerator { @Override protected List<String> create(String[] elements) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 15.6K bytes - Viewed (0) -
internal/ioutil/ioutil.go
// // This is implemented such that we want to restrict // an enscapsulated writer upto a certain length // and skip a certain number of bytes. type LimitWriter struct { io.Writer skipBytes int64 wLimit int64 } // Write implements the io.Writer interface limiting upto // configured length, also skips the first N bytes. func (w *LimitWriter) Write(p []byte) (n int, err error) { n = len(p)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 26 12:55:01 UTC 2024 - 10.9K bytes - Viewed (0)