- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 154 for efficiency (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava/src/com/google/common/escape/CharEscaper.java
* * <p>If the character does not need to be escaped, this method should return {@code null}, rather * than a one-character array containing the character itself. This enables the escaping algorithm * to perform more efficiently. * * <p>An escaper is expected to be able to deal with any {@code char} value, so this method should * not throw any exceptions. * * @param c the character to escape if necessaryCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 15:45:16 GMT 2025 - 6.7K bytes - Click Count (0) -
src/main/java/jcifs/audit/SecurityAuditLogger.java
entry.context = getContextMap(); if (context != null) { entry.context.putAll(maskContext(context)); } // Add MDC context efficiently addMdcContext(entry.context); // Process asynchronously or synchronously based on configuration if (asyncLogging && !shutdown) { if (!logQueue.offer(entry)) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 26.6K bytes - Click Count (0) -
src/test/java/jcifs/smb1/util/MimeMapTest.java
} } @Nested @DisplayName("Performance and concurrency") class PerformanceTests { @Test @DisplayName("Should handle multiple lookups efficiently") void testMultipleLookups() throws IOException { // Test that multiple lookups work correctly for (int i = 0; i < 100; i++) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/AbstractMultiset.java
return setCountImpl(this, element, oldCount, newCount); } // Bulk Operations /** * {@inheritDoc} * * <p>This implementation is highly efficient when {@code elementsToAdd} is itself a {@link * Multiset}. */ @CanIgnoreReturnValue @Override public final boolean addAll(Collection<? extends E> elementsToAdd) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 5.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/RegularImmutableTable.java
: ImmutableSet.copyOf(ImmutableList.sortedCopyOf(columnComparator, columnSpaceBuilder)); return forOrderedComponents(cellList, rowSpace, columnSpace); } /** A factory that chooses the most space-efficient representation of the table. */ static <R, C, V> RegularImmutableTable<R, C, V> forOrderedComponents( ImmutableList<Cell<R, C, V>> cellList, ImmutableSet<R> rowSpace, ImmutableSet<C> columnSpace) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 7K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/Bytes.java
} /** * Reverses the elements of {@code array}. This is equivalent to {@code * Collections.reverse(Bytes.asList(array))}, but is likely to be more efficient. * * @since 23.1 */ public static void reverse(byte[] array) { checkNotNull(array); reverse(array, 0, array.length); } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jul 17 15:26:41 GMT 2025 - 15.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/TableCollectors.java
checkNotNull(mergeFunction, "mergeFunction"); /* * No mutable Table exactly matches the insertion order behavior of ImmutableTable.Builder, but * the Builder can't efficiently support merging of duplicate values. Getting around this * requires some work. */ return Collector.of( ImmutableTableCollectorState<R, C, V>::new, (state, input) ->
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Apr 14 16:07:06 GMT 2025 - 7.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ContiguousSet.java
* <p><b>Warning:</b> Be extremely careful what you do with conceptually large instances (such as * {@code ContiguousSet.create(Range.greaterThan(0), DiscreteDomain.integers()}). Certain operations * on such a set can be performed efficiently, but others (such as {@link Set#hashCode} or {@link * Collections#frequency}) can cause major performance problems. * * @author Gregory Kick * @since 10.0 */ @GwtCompatible
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 9.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Multimap.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 15K bytes - Click Count (0) -
android/guava/src/com/google/common/escape/Escapers.java
/** * Returns an {@link Escaper} that does no escaping, passing all character data through unchanged. */ public static Escaper nullEscaper() { return NULL_ESCAPER; } // An Escaper that efficiently performs no escaping. // Extending CharEscaper (instead of Escaper) makes Escapers.compose() easier. private static final Escaper NULL_ESCAPER = new CharEscaper() { @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 6.9K bytes - Click Count (0)