Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 77 for efficiently (0.04 sec)

  1. android/guava/src/com/google/common/collect/Streams.java

       * href="http://gee.cs.oswego.edu/dl/html/StreamParallelGuidance.html">efficiently splittable</a>
       * if and only if {@code stream} was efficiently splittable and its underlying spliterator
       * reported {@link Spliterator#SUBSIZED}. This is generally the case if the underlying stream
       * comes from a data structure supporting efficient indexed random access, typically an array or
       * list.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 37K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/escape/UnicodeEscaper.java

       * efficiency. The base class implementation determines successive Unicode code points and invokes
       * {@link #escape(int)} for each of them. If the semantics of your escaper are such that code
       * points in the supplementary range are either all escaped or all unescaped, this method can be
       * implemented more efficiently using {@link CharSequence#charAt(int)}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/escape/UnicodeEscaper.java

       * efficiency. The base class implementation determines successive Unicode code points and invokes
       * {@link #escape(int)} for each of them. If the semantics of your escaper are such that code
       * points in the supplementary range are either all escaped or all unescaped, this method can be
       * implemented more efficiently using {@link CharSequence#charAt(int)}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java

                }
            }
        }
    
        @Nested
        @DisplayName("Performance Tests")
        class PerformanceTests {
    
            @Test
            @DisplayName("Should handle repeated encoding efficiently")
            void testRepeatedEncoding() {
                TestCreateContextRequest request = new TestCreateContextRequest("PERFORMANCE".getBytes(StandardCharsets.UTF_8));
                byte[] buffer = new byte[256];
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  5. 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)) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  6. 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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  7. 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();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/math/BigIntegerMath.java

          product *= normalizedNum;
          productBits = LongMath.log2(product, FLOOR) + 1;
        }
        // Check for leftovers.
        if (product > 1) {
          bignums.add(BigInteger.valueOf(product));
        }
        // Efficiently multiply all the intermediate products together.
        return listProduct(bignums).shiftLeft(shift);
      }
    
      static BigInteger listProduct(List<BigInteger> nums) {
        return listProduct(nums, 0, nums.size());
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

        }
    
        @Override
        public List<Long> subList(int fromIndex, int toIndex) {
          return parent.subArray(fromIndex, toIndex).asList();
        }
    
        // The default List spliterator is not efficiently splittable
        @Override
        /*
         * This is an override that is not directly visible to callers, so NewApi will catch calls to
         * Collection.spliterator() where necessary.
         */
        @IgnoreJRERequirement
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 22K bytes
    - Viewed (0)
  10. guava/src/com/google/common/primitives/ImmutableIntArray.java

        }
    
        @Override
        public List<Integer> subList(int fromIndex, int toIndex) {
          return parent.subArray(fromIndex, toIndex).asList();
        }
    
        // The default List spliterator is not efficiently splittable
        @Override
        public Spliterator<Integer> spliterator() {
          return parent.spliterator();
        }
    
        @Override
        public boolean equals(@Nullable Object object) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 21.4K bytes
    - Viewed (0)
Back to top