- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 150 for Fallocate (4.48 sec)
-
guava-tests/test/com/google/common/collect/ImmutableListTest.java
ImmutableList<String> list = ImmutableList.of("a", "b"); assertSame(list, list.asList()); } @SuppressWarnings("ModifiedButNotUsed") @GwtIncompatible // actually allocates nCopies @J2ktIncompatible // actually allocates nCopies public void testAddOverflowCollection() { ImmutableList.Builder<String> builder = ImmutableList.builder(); for (int i = 0; i < 100; i++) { builder.add("a"); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 23.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java
} /** * Helper method to create a valid security descriptor buffer with specified size */ private byte[] createValidSecurityDescriptorBuffer(int size) { ByteBuffer buffer = ByteBuffer.allocate(size); buffer.order(ByteOrder.LITTLE_ENDIAN); // Security descriptor header buffer.put((byte) 0x01); // Revision buffer.put((byte) 0x00); // Padding
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaStatistics.java
* * @return active connection count */ public long getConnectionsActive() { return connectionsActive.get(); } /** * Get total number of memory regions allocated * * @return memory region count */ public long getMemoryRegionsAllocated() { return memoryRegionsAllocated.get(); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 10.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/Iterables.java
} /** * Copies an iterable's elements into an array. * * @param iterable the iterable to copy * @param type the type of the elements * @return a newly-allocated array into which all the elements of the iterable have been copied */ @GwtIncompatible // Array.newInstance(Class, int) public static <T extends @Nullable Object> T[] toArray(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 43.3K bytes - Viewed (0) -
guava/src/com/google/common/math/PairedStats.java
* * <p><b>Note:</b> No guarantees are made regarding stability of the representation between * versions. */ public byte[] toByteArray() { ByteBuffer buffer = ByteBuffer.allocate(BYTES).order(ByteOrder.LITTLE_ENDIAN); xStats.writeTo(buffer); yStats.writeTo(buffer); buffer.putDouble(sumOfProductsOfDeltas); return buffer.array(); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 12.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Connection.kt
* this class separates _allocations_ from _streams_. An allocation is created by a call, used for * one or more streams, and then released. An allocated connection won't be stolen by other calls * while a redirect or authorization challenge is being handled. * * When the maximum concurrent streams limit is reduced, some allocations will be rescinded.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 4.3K bytes - Viewed (0) -
src/main/java/jcifs/util/ServerResponseValidator.java
throw new SmbException("Invalid command code: " + command); } } /** * Validate array size before allocation * * @param size array size to allocate * @param elementSize size of each element * @param maxElements maximum allowed elements * @throws SmbException if allocation would be too large */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/SourceSinkFactories.java
File file = getFile(); Reader reader = new InputStreamReader(new FileInputStream(file), UTF_8); StringBuilder builder = new StringBuilder(); CharBuffer buffer = CharBuffer.allocate(100); while (reader.read(buffer) != -1) { Java8Compatibility.flip(buffer); builder.append(buffer); Java8Compatibility.clear(buffer); } return builder.toString(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 17.9K bytes - Viewed (0) -
src/main/java/jcifs/util/ResourceManager.java
cleanupExecutor.shutdownNow(); Thread.currentThread().interrupt(); } // Log final statistics log.info("ResourceManager shutdown complete. Total allocated: {}, released: {}, leaks: {}, force cleaned: {}", totalAllocated.get(), totalReleased.get(), totalLeaks.get(), cleaned); } /** * Create a managed resource wrapper *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java
* copied in a single call. */ @Test public void readBytesWireFormat_succeedsWithSingleRead() { DummyResponse d = new DummyResponse(); // Allocate a transaction buffer large enough for the copy byte[] tx = new byte[100]; d.txn_buf = tx; // Set up a scenario where the full transaction is read in one call d.bufParameterStart = 0;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (0)