Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 444 for 1020 (0.01 sec)

  1. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java

                byte[] dst = new byte[100];
                int result = response.writeSetupWireFormat(dst, 0);
    
                assertEquals(0, result);
            }
    
            @Test
            @DisplayName("Should return 0 for writeSetupWireFormat with offset")
            void testWriteSetupWireFormatWithOffset() {
                byte[] dst = new byte[100];
                int result = response.writeSetupWireFormat(dst, 50);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/SuppliersTest.java

                int nextValue = counter + 1;
                Thread.yield();
                counter = nextValue;
                return counter;
              }
            };
    
        int numThreads = 10;
        int iterations = 1000;
        Thread[] threads = new Thread[numThreads];
        for (int i = 0; i < numThreads; i++) {
          threads[i] =
              new Thread() {
                @Override
                public void run() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/SuppliersTest.java

                int nextValue = counter + 1;
                Thread.yield();
                counter = nextValue;
                return counter;
              }
            };
    
        int numThreads = 10;
        int iterations = 1000;
        Thread[] threads = new Thread[numThreads];
        for (int i = 0; i < numThreads; i++) {
          threads[i] =
              new Thread() {
                @Override
                public void run() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/SmbConstantsTest.java

            assertEquals(35000, SmbConstants.DEFAULT_SO_TIMEOUT);
            assertEquals(0xFFFF, SmbConstants.DEFAULT_RCV_BUF_SIZE);
            assertEquals(0xFFFF, SmbConstants.DEFAULT_SND_BUF_SIZE);
            assertEquals(1024, SmbConstants.DEFAULT_NOTIFY_BUF_SIZE);
            assertEquals(250, SmbConstants.DEFAULT_SSN_LIMIT);
            assertEquals(35000, SmbConstants.DEFAULT_CONN_TIMEOUT);
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeTest.java

            // Arrange
            byte[] largeData = new byte[1000];
            for (int i = 0; i < largeData.length; i++) {
                largeData[i] = (byte) (i % 256);
            }
            int offset = 990;
            int length = 10;
    
            TransTransactNamedPipe trans = new TransTransactNamedPipe(mockConfig, TEST_FID, largeData, offset, length);
            byte[] dst = new byte[100];
    
            // Act
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java

        @Test
        public void testLargeThreshold() throws IOException {
            // Test with very large threshold
            ContentOutputStream cos = new ContentOutputStream(1024 * 1024, Curl.tmpDir);
            cos.write(new byte[1000]);
            assertTrue(cos.isInMemory());
            cos.close();
        }
    
        @Test
        public void testMultipleGetFile() throws IOException {
            // Calling getFile() multiple times should return the same file
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Wed Nov 12 14:01:04 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java

         *
         * @return interface score
         */
        public int getScore() {
            int score = linkSpeed; // Base score is link speed
    
            if (rssCapable)
                score += 1000; // Prefer RSS-capable
            if (rdmaCapable)
                score += 2000; // Prefer RDMA-capable
            // Note: No IPv4 preference bonus to keep base score equal to link speed
    
            return score;
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/UrlFilterTest.java

         * Test very long URL handling
         */
        public void test_veryLongUrl() {
            String sessionId = "test-session-020";
            urlFilter.init(sessionId);
    
            // Create a very long URL
            StringBuilder longUrl = new StringBuilder("https://example.com/");
            for (int i = 0; i < 1000; i++) {
                longUrl.append("very/long/path/segment/");
            }
            longUrl.append("file.html");
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 19K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                rn = resp.numReferrals;
            }
    
            DfsReferral dr = new DfsReferral();
    
            final String[] arr = new String[4];
            final long expiration = System.currentTimeMillis() + Dfs.TTL * 1000;
    
            int di = 0;
            for (;;) {
                /* NTLM HTTP Authentication must be re-negotiated
                 * with challenge from 'server' to access DFS vol. */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

                String nonceHex = bytesToHex(nonce);
                nonceSet.add(nonceHex);
            }
    
            // Verify that secure nonces provide excellent diversity
            // With 100 nonces and 16 random bytes, we should have all unique nonces
            assertEquals(100, nonceSet.size(), "Secure nonces should all be unique");
        }
    
        @Test
        @DisplayName("Should reject null message in encryptMessage")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
Back to top