Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 971 - 980 of 6,205 for newA (0.02 seconds)

  1. src/main/java/org/codelibs/curl/CurlRequest.java

                } catch (final Exception e) {
                    throw new CurlException("Failed to access the response.", e);
                }
                writeContent(() -> {
                    try {
                        if (Method.HEAD.toString().equalsIgnoreCase(con.getRequestMethod())) {
                            return new ByteArrayInputStream(new byte[0]);
                        } else if (con.getResponseCode() < 400) {
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 19.7K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/thumbnail/ThumbnailGeneratorTest.java

            final int threadCount = 10;
            Thread[] threads = new Thread[threadCount];
            final boolean[] results = new boolean[threadCount];
    
            for (int i = 0; i < threadCount; i++) {
                final int index = i;
                threads[i] = new Thread(() -> {
                    String thumbnailId = "concurrent-" + index;
                    File outputFile = new File(tempDir.toFile(), "concurrent-" + index + ".png");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 11.7K bytes
    - Click Count (0)
  3. benchmarks/src/main/java/org/elasticsearch/benchmark/script/ScriptScoreBenchmark.java

            Map.entry("n", new NumberFieldType("n", NumberType.LONG, false, false, true, true, null, Map.of(), null, false, null))
        );
        private final IndexFieldDataCache fieldDataCache = new IndexFieldDataCache.None();
        private final CircuitBreakerService breakerService = new NoneCircuitBreakerService();
        private SearchLookup lookup = new SearchLookup(
            fieldTypes::get,
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 20 13:45:50 GMT 2021
    - 8.1K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

       *
       * @return this
       * @throws IllegalStateException if any of the Services are not {@link State#NEW new} when the
       *     method is called.
       */
      @CanIgnoreReturnValue
      public ServiceManager startAsync() {
        for (Service service : services) {
          checkState(service.state() == NEW, "Not all services are NEW, cannot start %s", this);
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 33.2K bytes
    - Click Count (1)
  5. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java

            response = new Smb2QueryDirectoryResponse(mockConfig, expectInfoClass);
    
            assertNotNull(response);
            assertNull(response.getResults()); // Should be null before decoding
        }
    
        @Test
        @DisplayName("Test getResults returns null initially")
        void testGetResultsInitiallyNull() {
            response = new Smb2QueryDirectoryResponse(mockConfig, (byte) 0x03);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 23.5K bytes
    - Click Count (0)
  6. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RepositorySystemTest.java

        }
    
        @Test
        void testResolveArtifacts() throws Exception {
            ArtifactRequest req1 = new ArtifactRequest();
            req1.setArtifact(new DefaultArtifact("ut.simple:artifact:1.0"));
            req1.addRepository(newTestRepository());
    
            ArtifactRequest req2 = new ArtifactRequest();
            req2.setArtifact(new DefaultArtifact("ut.simple:artifact:zip:1.0"));
            req2.addRepository(newTestRepository());
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultClasspathTransformationTestType.java

            // v1-->v2
            graph.addEdge(v1, v2, new MetadataGraphEdge("1.1", true, null, null, 2, 1));
            graph.addEdge(v1, v2, new MetadataGraphEdge("1.2", true, null, null, 2, 2));
    
            // v1-->v3
            graph.addEdge(v1, v3, new MetadataGraphEdge("1.1", true, null, null, 2, 1));
            graph.addEdge(v1, v3, new MetadataGraphEdge("1.2", true, null, null, 4, 2));
    
            // v3-->v4
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.7K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/entity/RequestParameterTest.java

            RequestParameter param = new RequestParameter(name, values);
    
            assertEquals("", param.getName());
            assertNotNull(param.getValues());
            assertEquals(2, param.getValues().length);
        }
    
        @Test
        public void test_constructor_withNullValues() {
            // Test with null values array
            String name = "paramName";
            RequestParameter param = new RequestParameter(name, null);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.9K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/JdkFutureAdaptersTest.java

        CountDownLatch submitSuccessful = new CountDownLatch(1);
        ExecutorService executorService =
            new ThreadPoolExecutor(
                0,
                Integer.MAX_VALUE,
                60L,
                SECONDS,
                new SynchronousQueue<Runnable>(),
                new ThreadFactoryBuilder().setDaemon(true).build()) {
              @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 10K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/core/io/ReaderUtil.java

            assertArgumentNotNull("file", file);
            assertArgumentNotEmpty("encoding", encoding);
    
            try {
                return new InputStreamReader(new FileInputStream(file), encoding);
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
         * Reads a single line from the given {@link BufferedReader}.
         *
         * @param reader
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 4.3K bytes
    - Click Count (0)
Back to Top