- Sort Score
- Num 10 results
- Language All
Results 111 - 120 of 188 for efficiency (0.07 seconds)
-
android/guava/src/com/google/common/graph/AbstractNetwork.java
* this class rather than implement {@link Network} directly. * * <p>The methods implemented in this class should not be overridden unless the subclass admits a * more efficient implementation. * * @author James Sexton * @param <N> Node parameter type * @param <E> Edge parameter type * @since 20.0 */ public abstract class AbstractNetwork<N, E> implements Network<N, E> {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 01:10:31 GMT 2026 - 10K bytes - Click Count (0) -
guava/src/com/google/common/collect/TopKSelector.java
* Comparators#least(int)} to {@link Stream#collect(java.util.stream.Collector)}. If it is available * as an {@link Iterable} or {@link Iterator}, prefer {@link Ordering#leastOf(Iterable, int)}. * * <p>This uses the same efficient implementation as {@link Ordering#leastOf(Iterable, int)}, * offering expected O(n + k log k) performance (worst case O(n log k)) for n calls to {@linkCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Aug 31 13:15:26 GMT 2025 - 11.4K bytes - Click Count (0) -
src/test/java/jcifs/EmptyIteratorTest.java
assertFalse(emptyIterator.hasNext(), "Final hasNext check"); assertNull(emptyIterator.next(), "Final next call"); } @Test @DisplayName("EmptyIterator should be lightweight and efficient") void testPerformanceCharacteristics() { // When - create many instances quickly long startTime = System.currentTimeMillis(); for (int i = 0; i < 10000; i++) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbCopyUtil.java
import jcifs.internal.smb2.ioctl.SrvCopychunkCopy; import jcifs.internal.smb2.ioctl.SrvRequestResumeKeyResponse; /** * Utility class for SMB file copy operations. * Provides methods for efficient server-side copying using SMB2 IOCTL operations. * * @author mbechler * */ public final class SmbCopyUtil { private static final Logger log = LoggerFactory.getLogger(SmbCopyUtil.class); /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 16.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java
int result = response.writeBytesWireFormat(dst, 0); // Then assertEquals(0, result); } @Test @DisplayName("Should handle large arrays efficiently") void testWriteBytesWireFormatWithLargeArray() { // Given byte[] dst = new byte[65536]; // 64KB array // When
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.1K bytes - Click Count (0) -
docs/en/docs/contributing.md
## Automated Code and AI You are encouraged to use all the tools you want to do your work and contribute as efficiently as possible, this includes AI (LLM) tools, etc. Nevertheless, contributions should have meaningful human intervention, judgement, context, etc.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Mar 23 13:59:26 GMT 2026 - 10.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java
}); // Capacity should not be negative (overflow check) assertTrue(info.getCapacity() != 0); } @Test @DisplayName("Should decode efficiently for large buffers") void testLargeBufferDecoding() throws SMBProtocolDecodingException { byte[] largeBuffer = new byte[10000]; FileFsSizeInformation info = new FileFsSizeInformation();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.1K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/GAVUtilsTest.java
assertEquals("child-project", gav.artifactId()); assertEquals("1.0.0", gav.version()); } @Test @DisplayName("should handle large number of POMs efficiently") void shouldHandleLargeNumberOfPOMsEfficiently() throws Exception { // Create a large number of POM documents for performance testing Map<Path, Document> largePomMap = new HashMap<>();
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 17.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Multisets.java
* removeAll}{@code (occurrencesToRemove)}, which removes all occurrences of elements that appear * in {@code occurrencesToRemove}. However, this operation <i>is</i> equivalent to, albeit * sometimes more efficient than, the following: * * {@snippet : * for (E e : occurrencesToRemove) { * multisetToModify.remove(e); * } * } *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 41.3K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/Ints.java
reverse(array, fromIndex, toIndex); } /** * Reverses the elements of {@code array}. This is equivalent to {@code * Collections.reverse(Ints.asList(array))}, but is likely to be more efficient. * * @since 23.1 */ public static void reverse(int[] array) { checkNotNull(array); reverse(array, 0, array.length); } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:45:58 GMT 2026 - 31.3K bytes - Click Count (0)