- Sort Score
- Result 10 results
- Languages All
Results 1051 - 1060 of 1,899 for LENGTH (0.04 sec)
-
guava-tests/test/com/google/common/io/FileBackedOutputStreamAndroidIncompatibleTest.java
byte[] data = newPreFilledByteArray(100); FileBackedOutputStream out = new FileBackedOutputStream(0, true); write(out, data, 0, 100, true); File file = out.getFile(); assertEquals(100, file.length()); assertTrue(file.exists()); out.close(); // Make sure that finalize deletes the file out = null; // times out and throws RuntimeException on failure GcFinalization.awaitDone(
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 1.7K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Files.java
return true; } /* * Some operating systems may return zero as the length for files denoting system-dependent * entities such as devices or pipes, in which case we must fall back on comparing the bytes * directly. */ long len1 = file1.length(); long len2 = file2.length(); if (len1 != 0 && len2 != 0 && len1 != len2) { return false; }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Sep 25 20:24:13 UTC 2025 - 32.8K bytes - Viewed (0) -
okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 8.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/DirFileEntryEnumIteratorBase.java
*/ public final SmbResource getParent() { return this.parent; } private final boolean filter(final FileEntry fe) { final String name = fe.getName(); if (name.length() < 3) { final int h = name.hashCode(); if ((h == SmbFile.HASH_DOT || h == SmbFile.HASH_DOT_DOT) && (name.equals(".") || name.equals(".."))) { return false; } }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/EqualsTester.java
@CanIgnoreReturnValue public EqualsTester addEqualityGroup(@Nullable Object @Nullable ... equalityGroup) { checkNotNull(equalityGroup); List<Object> list = new ArrayList<>(equalityGroup.length); for (int i = 0; i < equalityGroup.length; i++) { Object element = equalityGroup[i]; if (element == null) { throw new NullPointerException("at index " + i); } list.add(element); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 6.1K bytes - Viewed (0) -
src/test/java/jcifs/RuntimeCIFSExceptionTest.java
// When RuntimeCIFSException exception = new RuntimeCIFSException("Test exception"); // Then assertNotNull(exception.getStackTrace()); assertTrue(exception.getStackTrace().length > 0); // Should contain this test method in stack trace boolean foundTestMethod = false; for (StackTraceElement element : exception.getStackTrace()) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.2K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPackagingRegistry.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jan 24 17:29:44 UTC 2025 - 7.8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt
if (contentLength > Int.MAX_VALUE) { throw IOException("Cannot buffer entire body for content length: $contentLength") } val bytes = source().use(consumer) val size = sizeMapper(bytes) if (contentLength != -1L && contentLength != size.toLong()) { throw IOException("Content-Length ($contentLength) and stream length ($size) disagree") } return bytes } /**
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue May 27 14:51:25 UTC 2025 - 11.6K bytes - Viewed (0) -
src/main/java/jcifs/util/ByteEncodable.java
/** * Constructs a ByteEncodable object wrapping a byte array segment. * * @param b the byte array to wrap * @param off the offset in the byte array * @param len the length of the segment to use */ public ByteEncodable(final byte[] b, final int off, final int len) { this.bytes = b; this.off = off; this.len = len; } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.9K bytes - Viewed (0) -
cmd/storage-rest-common.go
storageRESTSrcVolume = "svol" storageRESTSrcPath = "spath" storageRESTDstVolume = "dvol" storageRESTDstPath = "dpath" storageRESTOffset = "offset" storageRESTLength = "length" storageRESTCount = "count" storageRESTBitrotAlgo = "balg" storageRESTBitrotHash = "bhash" storageRESTDiskID = "did" storageRESTForceDelete = "fdel"
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Mon Aug 12 08:38:15 UTC 2024 - 2.9K bytes - Viewed (0)