Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 631 - 640 of 764 for 1020 (0.31 seconds)

  1. android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

        executorService =
            new ThreadPoolExecutor(
                NUM_THREADS,
                NUM_THREADS,
                Long.MAX_VALUE,
                SECONDS,
                new ArrayBlockingQueue<Runnable>(1000));
        executorService.prestartAllCoreThreads();
        AtomicInteger integer = new AtomicInteger();
        // Execute a bunch of tasks to ensure that our threads are allocated and hot
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jul 16 17:42:14 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  2. src/main/java/jcifs/util/InputValidator.java

            if (input == null) {
                return "null";
            }
            // Remove control characters and limit length
            String sanitized = input.replaceAll("[\\x00-\\x1f]", "");
            if (sanitized.length() > 1000) {
                sanitized = sanitized.substring(0, 997) + "...";
            }
            return sanitized;
        }
    
        /**
         * Validates that a value is within the specified range
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java

            super(config, command);
            this.subCommand = subCommand;
            this.maxDataCount = config.getTransactionBufferSize() - 512;
            this.maxParameterCount = 1024;
            this.primarySetupOffset = PRIMARY_SETUP_OFFSET;
            this.secondaryParameterOffset = SECONDARY_PARAMETER_OFFSET;
        }
    
        /**
         * Sets the maximum buffer size for this transaction
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 17.3K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/math/LongMathTest.java

      }
    
      @GwtIncompatible // isPrime is GWT-incompatible
      public void testIsPrimeSmall() {
        // Check the first 1000 integers
        for (int i = 2; i < 1000; i++) {
          assertEquals(BigInteger.valueOf(i).isProbablePrime(100), LongMath.isPrime(i));
        }
      }
    
      @GwtIncompatible // isPrime is GWT-incompatible
      public void testIsPrimeManyConstants() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Oct 30 14:15:36 GMT 2025
    - 31.4K bytes
    - Click Count (0)
  5. src/archive/tar/tar_test.go

    	}, {
    		in: []sparseEntry{{1, 0}}, size: 0,
    		wantValid: false,
    	}, {
    		in: []sparseEntry{{-1, 0}}, size: 100,
    		wantValid: false,
    	}, {
    		in: []sparseEntry{{0, -1}}, size: 100,
    		wantValid: false,
    	}, {
    		in: []sparseEntry{{0, 0}}, size: -100,
    		wantValid: false,
    	}, {
    		in: []sparseEntry{{math.MaxInt64, 3}, {6, -5}}, size: 35,
    		wantValid: false,
    	}, {
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Jul 25 00:25:45 GMT 2024
    - 23.9K bytes
    - Click Count (0)
  6. src/main/java/jcifs/config/BaseConfiguration.java

        protected boolean useLease = true;
        /** Lease timeout in milliseconds */
        protected int leaseTimeout = 30000;
        /** Maximum number of concurrent leases */
        protected int maxLeases = 1000;
        /** Preferred lease version (1 or 2) */
        protected int leaseVersion = 2;
        /** Lease break timeout in seconds (per MS-SMB2 spec) */
        protected int leaseBreakTimeout = 60;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 36.5K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/crawler/serializer/DataSerializerTest.java

        /**
         * Test serialization with large data
         */
        @Test
        public void test_serializeDeserialize_largeData() {
            List<String> original = new ArrayList<>();
            for (int i = 0; i < 1000; i++) {
                original.add("Item number " + i);
            }
    
            byte[] serialized = serializer.fromObjectToBinary(original);
            assertNotNull(serialized, "Serialized data should not be null");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 21.6K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java

                return "doc-id-" + dataMap.get("url");
            }
        }
    
        private static class TestIndexingHelper extends IndexingHelper {
            int sendDocumentsCalled = 0;
            long documentSize = 1000;
    
            @Override
            public void sendDocuments(SearchEngineClient searchEngineClient, DocList docList) {
                sendDocumentsCalled++;
                docList.clear();
            }
    
            @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 24.7K bytes
    - Click Count (0)
  9. src/main/webapp/WEB-INF/orig/view/advance.jsp

    						<option value="">
    							<la:message key="labels.search_result_select_num" />
    						</option>
    						<la:option value="10">10</la:option>
    						<la:option value="20">20</la:option>
    						<la:option value="30">30</la:option>
    						<la:option value="40">40</la:option>
    						<la:option value="50">50</la:option>
    						<la:option value="100">100</la:option>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 14.2K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImplTest.java

            };
    
            FileListIndexUpdateCallbackImpl callback = new FileListIndexUpdateCallbackImpl(mockCallback, null, 1);
            callback.setMaxDeleteDocumentCacheSize(1000);
    
            final int threadCount = 10;
            final int urlsPerThread = 100;
            final Thread[] threads = new Thread[threadCount];
            final Exception[] exceptions = new Exception[threadCount];
    
            // Multiple threads add URLs to deleteUrlList
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 19.7K bytes
    - Click Count (0)
Back to Top