Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 201 - 210 of 334 for 15000 (0.03 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/idn/PunycodeTest.kt

      /**
       * It's invalid to have a label longer than 63 characters. If that's requested, the encoder may
       * overflow and return null.
       */
      @Test fun overflowEncodingOversizedLabel() {
        val a1000 = "a".repeat(1000)
        val a1000MaxCodePoint = a1000 + "\udbff\udfff"
        testEncodeDecode(
          a1000MaxCodePoint,
          "xn--$a1000-nc89312g",
        )
        assertNull(
          Punycode.encode(a1000MaxCodePoint.repeat(2)),
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 5.3K bytes
    - Click Count (0)
  2. src/test/java/jcifs/SmbResourceTest.java

                // Given
                long currentTime = System.currentTimeMillis();
                when(mockResource.lastModified()).thenReturn(currentTime);
                when(mockResource.lastAccess()).thenReturn(currentTime - 1000);
                when(mockResource.createTime()).thenReturn(currentTime - 2000);
    
                // When
                long lastModified = mockResource.lastModified();
                long lastAccess = mockResource.lastAccess();
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 35K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java

            @Test
            @DisplayName("Should handle maximum buffer index")
            void testMaxBufferIndex() throws SMBProtocolDecodingException {
                // Given
                int bufferSize = 10000;
                byte[] buffer = new byte[bufferSize];
                int bufferIndex = bufferSize - 4;
                SMBUtil.writeInt2(4, buffer, bufferIndex);
                SMBUtil.writeInt2(0, buffer, bufferIndex + 2);
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.1K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb1/smb1/Dfs.java

             * the entire path.
             */
            dr.pathConsumed -= 1 + server.length() + 1 + share.length();
    
            if (referrals != null && System.currentTimeMillis() + 10000 > referrals.expiration) {
                referrals = null;
            }
            if (referrals == null) {
                referrals = new CacheEntry(0);
            }
            referrals.map.put(key, dr);
        }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TextExtractorEnhancedTest.java

         * Test extraction with large text content.
         */
        public void test_getText_largeContent_extractsSuccessfully() {
            final StringBuilder largeContent = new StringBuilder();
            for (int i = 0; i < 10000; i++) {
                largeContent.append("Line ").append(i).append(" with some content\n");
            }
            final InputStream in = new ByteArrayInputStream(largeContent.toString().getBytes());
    
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  6. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/DefaultArtifactVersionTest.java

            assertEquals(version, artifactVersion.toString(), "check " + version + " string value");
        }
    
        @Test
        void testVersionParsing() {
            checkVersionParsing("1", 1, 0, 0, 0, null);
            checkVersionParsing("1.2", 1, 2, 0, 0, null);
            checkVersionParsing("1.2.3", 1, 2, 3, 0, null);
            checkVersionParsing("1.2.3-1", 1, 2, 3, 1, null);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  7. cmd/xl-storage-format-utils_test.go

    		Mode:             0,
    		Metadata:         nil,
    		Parts:            nil,
    		Erasure: ErasureInfo{
    			Algorithm:    ReedSolomon.String(),
    			DataBlocks:   4,
    			ParityBlocks: 2,
    			BlockSize:    10000,
    			Index:        1,
    			Distribution: []int{1, 2, 3, 4, 5, 6, 7, 8},
    			Checksums: []ChecksumInfo{{
    				PartNumber: 1,
    				Algorithm:  HighwayHash256S,
    				Hash:       nil,
    			}},
    		},
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java

      @J2ktIncompatible
      @GwtIncompatible // blocking wait
      public void testRunIdempotency() throws Exception {
        int numThreads = 10;
        ExecutorService executor = newFixedThreadPool(numThreads);
        for (int i = 0; i < 1000; i++) {
          AtomicInteger counter = new AtomicInteger();
          TrustedListenableFutureTask<Integer> task =
              TrustedListenableFutureTask.create(
                  new Callable<Integer>() {
                    @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java

            int startOffset = 100;
    
            // Set up transaction parameters
            transaction.setMaxSetupCount((byte) 3);
            transaction.setTotalParameterCount(500);
            transaction.setTotalDataCount(1000);
            transaction.setMaxParameterCount(2048);
            transaction.setMaxDataCountForTest(4096);
            transaction.setParameterCount(250);
            transaction.setParameterOffset(150);
    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)
  10. tests/lru_test.go

    	if lc.Len() != 10 {
    		t.Fatalf("length differs from expected")
    	}
    }
    
    func TestLRUConcurrency(t *testing.T) {
    	lc := lru.NewLRU[string, string](0, nil, 0)
    	wg := sync.WaitGroup{}
    	wg.Add(1000)
    	for i := 0; i < 1000; i++ {
    		go func(i int) {
    			lc.Add(fmt.Sprintf("key-%d", i/10), fmt.Sprintf("val-%d", i/10))
    			wg.Done()
    		}(i)
    	}
    	wg.Wait()
    	if lc.Len() != 100 {
    		t.Fatalf("length differs from expected")
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Sep 08 09:19:22 GMT 2025
    - 10.4K bytes
    - Click Count (0)
Back to Top