Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 211 - 220 of 639 for larger (0.08 seconds)

  1. src/test/java/jcifs/smb1/smb1/NtlmChallengeTest.java

            }
    
            @Test
            @DisplayName("Large challenge array is handled correctly")
            void testLargeChallengeArray() {
                byte[] challenge = new byte[16];
                for (int i = 0; i < 16; i++) {
                    challenge[i] = (byte) i;
                }
                UniAddress dc = mock(UniAddress.class);
                when(dc.toString()).thenReturn("LARGEDC");
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/SmbNegotiationTest.java

            assertEquals(0, negotiationWithEmptyBuffers.getResponseRaw().length);
        }
    
        @Test
        @DisplayName("Test with large buffers")
        void testWithLargeBuffers() {
            // Test with large byte arrays
            byte[] largeRequestBuffer = new byte[1024];
            byte[] largeResponseBuffer = new byte[2048];
    
            // Fill with some test data
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancer.java

            // Adaptive strategy based on message type and size
    
            if (isLargeTransfer(message)) {
                // For large transfers, prefer high-bandwidth channels
                ChannelInfo maxBandwidthChannel = null;
                int maxBandwidth = 0;
                for (ChannelInfo channel : channels) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/AbstractListTester.java

          }
        }
      }
    
      /**
       * Used to delay string formatting until actually required, as it otherwise shows up in the test
       * execution profile when running an extremely large numbers of tests.
       */
      private String reportContext(List<E> expected) {
        return Platform.format(
            "expected collection %s; actual collection %s", expected, this.collection);
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  5. src/main/java/jcifs/util/ServerResponseValidator.java

            }
    
            if (buffer.length > maxSize) {
                failedValidations.incrementAndGet();
                bufferOverflowsPrevented.incrementAndGet();
                log.warn("Response buffer too large: {} > {}", buffer.length, maxSize);
                throw new SmbException("Response buffer exceeds maximum: " + buffer.length + " > " + maxSize);
            }
        }
    
        /**
         * Validate buffer access bounds
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  6. docs/zh-hant/docs/_llm-test.md

    # LLM 測試檔案 { #llm-test-file }
    
    本文件用來測試用於翻譯文件的 <abbr title="Large Language Model - 大型語言模型">LLM</abbr> 是否理解 `scripts/translate.py` 中的 `general_prompt`,以及 `docs/{language code}/llm-prompt.md` 中的語言特定提示。語言特定提示會附加在 `general_prompt` 後面。
    
    此處新增的測試會提供給所有語言特定提示的設計者參考。
    
    使用方式:
    
    * 準備語言特定提示 - `docs/{language code}/llm-prompt.md`。
    * 針對本文件做一次全新的翻譯為你想要的目標語言(例如使用 `translate.py` 的 `translate-page` 指令)。這會在 `docs/{language code}/docs/_llm-test.md` 產生翻譯檔。
    * 檢查翻譯是否正確。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 10K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/io/ByteStreams.java

       *       userspace buffer (byte[] or ByteBuffer), then copies them from that buffer into the
       *       destination channel.
       * </ol>
       *
       * This value is intended to be large enough to make the overhead of system calls negligible,
       * without being so large that it causes problems for systems with atypical memory management if
       * approaches 2 or 3 are used.
       */
      private static final int ZERO_COPY_CHUNK_SIZE = 512 * 1024;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 31.1K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/score/ScoreUpdaterTest.java

            scoreUpdater.addScoreBooster(booster);
    
            String result = scoreUpdater.execute();
            assertTrue(result.contains("Runtime exception message"));
        }
    
        // Test large number of boosters
        @Test
        public void test_execute_manyBoosters() {
            for (int i = 0; i < 100; i++) {
                TestScoreBooster booster = new TestScoreBooster(i);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  9. CONTRIBUTING.md

    * What test cases should it have? What could go wrong?
    * How will it roughly be implemented? We'll happily provide code pointers to save you time.
    
    We may ask you to answer these questions directly in the GitHub issue or (for large changes) in a shared Google Doc.
    
    Please note that some features may be out of the team's current focus, and it can take significant time for the team to review the PR thoroughly and address it fully.
    
    ### Security vulnerabilities
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 27 18:43:39 GMT 2026
    - 19.1K bytes
    - Click Count (0)
  10. docs/smb3-features/05-rdma-smb-direct-design.md

            
            int dataSize = getDataSize(request);
            return dataSize > 8192 && dataSize <= maxReadWriteSize;  // Use RDMA for large transfers
        }
        
        private void sendWithRdmaReadWrite(ServerMessageBlock2 request) throws IOException {
            // For large data transfers, use RDMA read/write
            
            if (request instanceof Smb2ReadRequest) {
                handleRdmaRead((Smb2ReadRequest) request);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 35.9K bytes
    - Click Count (0)
Back to Top