Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 167 for efficiency (0.1 seconds)

  1. 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: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  2. 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: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.1K bytes
    - Click Count (0)
  3. 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 Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 17.3K bytes
    - Click Count (0)
  4. 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: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 26.6K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/Queues.java

         */
        long deadline = System.nanoTime() + unit.toNanos(timeout);
        int added = 0;
        while (added < numElements) {
          // we could rely solely on #poll, but #drainTo might be more efficient when there are multiple
          // elements already available (e.g. LinkedBlockingQueue#drainTo locks only once)
          added += q.drainTo(buffer, numElements - added);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Nov 04 17:24:58 GMT 2025
    - 18K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/EnumMultiset.java

        return new EnumMultiset<>(type);
      }
    
      /**
       * Creates a new {@code EnumMultiset} containing the specified elements.
       *
       * <p>This implementation is highly efficient when {@code elements} is itself a {@link Multiset}.
       *
       * @param elements the elements that the multiset should contain
       * @throws IllegalArgumentException if {@code elements} is empty
       */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  7. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeResultTest.java

            }
        }
    
        @Nested
        @DisplayName("Edge Cases")
        class EdgeCases {
    
            @Test
            @DisplayName("should handle large number of POMs efficiently")
            void shouldHandleLargeNumberOfPOMsEfficiently() {
                // Create a large number of POM paths for performance testing
                Set<Path> largePomSet = Set.of();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/primitives/Booleans.java

          }
        }
        return count;
      }
    
      /**
       * Reverses the elements of {@code array}. This is equivalent to {@code
       * Collections.reverse(Booleans.asList(array))}, but is likely to be more efficient.
       *
       * @since 23.1
       */
      public static void reverse(boolean[] array) {
        checkNotNull(array);
        reverse(array, 0, array.length);
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 25 15:01:23 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  9. guava/src/com/google/common/primitives/Booleans.java

          }
        }
        return count;
      }
    
      /**
       * Reverses the elements of {@code array}. This is equivalent to {@code
       * Collections.reverse(Booleans.asList(array))}, but is likely to be more efficient.
       *
       * @since 23.1
       */
      public static void reverse(boolean[] array) {
        checkNotNull(array);
        reverse(array, 0, array.length);
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 25 15:01:23 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  10. 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 Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 9.9K bytes
    - Click Count (0)
Back to Top