- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 86 for deallocate (0.05 sec)
-
android/guava/src/com/google/common/primitives/Shorts.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 22 18:14:49 UTC 2025 - 25.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/ToStringHelperTest.java
String toTest = MoreObjects.toStringHelper(new TestClass()) .omitEmptyValues() .add("field1", "Hello") .add("field2", CharBuffer.allocate(0)) .toString(); assertEquals("TestClass{field1=Hello}", toTest); } public void testToStringHelperWithArrays() { String[] strings = {"hello", "world"}; int[] ints = {2, 42};Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 21.4K bytes - Viewed (0) -
src/main/java/jcifs/audit/SecurityAuditLogger.java
} } private StringBuilder getStringBuilder() { StringBuilder sb = stringBuilderPool.poll(); if (sb == null) { sb = new StringBuilder(512); // Pre-allocate reasonable size } else { sb.setLength(0); // Reset length } return sb; } private void returnStringBuilder(StringBuilder sb) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 26.6K bytes - Viewed (0) -
guava/src/com/google/common/base/Joiner.java
} return join(parts.iterator()); } /* * TODO: b/381289911 - Make the Iterator overload use StringJoiner (including Android or not)—or * some other optimization, given that StringJoiner can over-allocate: * https://bugs.openjdk.org/browse/JDK-8305774 */ // TODO: b/381289911 - Optimize MapJoiner similarly to Joiner (including Android or not). /**Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 15:16:19 UTC 2025 - 21K bytes - Viewed (0) -
guava/src/com/google/common/math/BigIntegerMath.java
// If the factorial is small enough, just use LongMath to do it. if (n < LongMath.factorials.length) { return BigInteger.valueOf(LongMath.factorials[n]); } // Pre-allocate space for our list of intermediate BigIntegers. int approxSize = IntMath.divide(n * IntMath.log2(n, CEILING), Long.SIZE, CEILING); ArrayList<BigInteger> bignums = new ArrayList<>(approxSize);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 18.8K bytes - Viewed (0) -
docs/smb3-features/02-persistent-handles-design.md
long mostSig = bb.getLong(); long leastSig = bb.getLong(); this.guid = new UUID(mostSig, leastSig); } public byte[] toBytes() { ByteBuffer bb = ByteBuffer.allocate(16); bb.putLong(guid.getMostSignificantBits()); bb.putLong(guid.getLeastSignificantBits()); return bb.array(); } @Override public String toString() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 31.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java
} baos.write(channel.getLocalInterface().getAddress().getAddress()); baos.write(channel.getRemoteInterface().getAddress().getAddress()); baos.write(ByteBuffer.allocate(8).putLong(System.currentTimeMillis()).array()); } catch (IOException e) { // Should not happen with ByteArrayOutputStream log.error("Error creating binding info", e); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 20K bytes - Viewed (0) -
guava/src/com/google/common/hash/Crc32cHashFunction.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 28 01:26:26 UTC 2024 - 21.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/HashBiMap.java
private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException { stream.defaultReadObject(); int size = stream.readInt(); init(16); // resist hostile attempts to allocate gratuitous heap Serialization.populateMap(this, stream, size); } // TODO(cpovirk): Should we have a serialVersionUID here?
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Dec 16 14:46:34 UTC 2025 - 37.1K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Ints.java
result); return (int) result; } /** * Returns a big-endian representation of {@code value} in a 4-element byte array; equivalent to * {@code ByteBuffer.allocate(4).putInt(value).array()}. For example, the input value {@code * 0x12131415} would yield the byte array {@code {0x12, 0x13, 0x14, 0x15}}. *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 22 18:14:49 UTC 2025 - 31.3K bytes - Viewed (0)