- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 221 for Reimplement (0.1 sec)
-
guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java
* set to {@code true} grants threads access in FIFO order. Fairness generally decreases throughput * but reduces variability and avoids starvation. * * <p>This class and its iterator implement all of the optional methods of the {@link * Collection} and {@link Iterator} interfaces. * * @author Doug Lea * @author Justin T. Sampson * @param <E> the type of elements held in this collection */Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 22.4K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcBindTest.java
assertTrue(bind instanceof jcifs.dcerpc.ndr.NdrObject, "Should extend NdrObject"); assertTrue(bind instanceof DcerpcConstants, "Should implement DcerpcConstants"); } @Test @DisplayName("DcerpcBind should have access to parent class methods") void testParentClassMethods() { // When/Then
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.7K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/Invokable.java
return accessibleObject.getAnnotations(); } @Override public final Annotation[] getDeclaredAnnotations() { return accessibleObject.getDeclaredAnnotations(); } // We ought to be able to implement GenericDeclaration instead its parent AnnotatedElement. // That would give us this method declaration. But for some reason, implementing // GenericDeclaration leads to weird errors in Android tests:
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 18.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ListsTest.java
assertEquals(asList(1, 2), partitions.get(0)); assertEquals(asList(3), partitions.get(1)); } @J2ktIncompatible // Arrays.asList(...).subList() doesn't implement RandomAccess in J2KT. @GwtIncompatible // ArrayList.subList doesn't implement RandomAccess in GWT. public void testPartitionRandomAccessTrue() { List<Integer> source = asList(1, 2, 3); List<List<Integer>> partitions = partition(source, 2);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 35.4K bytes - Viewed (0) -
docs/smb3-features/05-rdma-smb-direct-design.md
return ByteBuffer.allocateDirect(size); } public void releaseBuffer(ByteBuffer buffer) { // For direct buffers, we rely on GC // Could implement a more sophisticated buffer pool here } public void cleanup() { // Clean up all pooled regions RdmaMemoryRegion region;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 35.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TopKSelector.java
buffer[i] = buffer[j]; buffer[j] = tmp; } /* * While the current implementation returns `this`, that's not something we mean to guarantee. * Anyway, the purpose of this method is to implement a BinaryOperator combiner for a Collector, * so its return value will get used naturally. */ @SuppressWarnings("CanIgnoreReturnValueSuggester") TopKSelector<T> combine(TopKSelector<T> other) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Aug 31 13:15:26 UTC 2025 - 11.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java
int i = 0; for (Object e : elements) { array[i++] = (Double) e; } return create(array); } /** * Creates a new collection containing the given elements; implement this method instead of * {@link #create(Object...)}. */ protected abstract List<Double> create(Double[] elements); @Override public Double[] createArray(int length) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 21.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/ToStringHelperTest.java
.add("field40", new Object[0]) .toString(); assertEquals("TestClass{field11=[Hello], field26=Optional.of(World), field31=[!!!]}", toTest); } @J2ktIncompatible // J2kt CharBuffer does not implement CharSequence so not recognized as empty @GwtIncompatible // CharBuffer not available public void testToStringOmitEmptyValues_charBuffer() { String toTest = MoreObjects.toStringHelper(new TestClass())
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 21.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/LinkedListMultimap.java
/* * Order is maintained using a linked list containing all key-value pairs. In * addition, a series of disjoint linked lists of "siblings", each containing * the values for a specific key, is used to implement {@link * ValueForKeyIterator} in constant time. */ static final class Node<K extends @Nullable Object, V extends @Nullable Object> extends SimpleEntry<K, V> {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 27K bytes - Viewed (0) -
guava/src/com/google/common/io/CharSource.java
* Reader#skip(long) skip} to the end of the stream, and return the total number of chars that * were skipped. * * <p>Note that for sources that implement {@link #lengthIfKnown} to provide a more efficient * implementation, it is <i>possible</i> that this method will return a different number of chars * than would be returned by reading all of the chars. *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 08 18:35:13 UTC 2025 - 25.3K bytes - Viewed (0)