Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1161 - 1170 of 2,047 for collection (0.06 seconds)

  1. android/guava-testlib/src/com/google/common/collect/testing/IteratorTester.java

     *
     * <p>For example, to test {@link java.util.Collections#unmodifiableList(java.util.List)
     * Collections.unmodifiableList}'s iterator:
     *
     * {@snippet :
     * List<String> expectedElements = Arrays.asList("a", "b", "c", "d", "e");
     * List<String> actualElements =
     *     Collections.unmodifiableList(Arrays.asList("a", "b", "c", "d", "e"));
     * IteratorTester<String> iteratorTester =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  2. samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/ClientAndServer.java

        server.setProtocols(Collections.singletonList(Protocol.H2_PRIOR_KNOWLEDGE));
        server.enqueue(new MockResponse().setBody("hello"));
        server.start();
    
        OkHttpClient client = new OkHttpClient.Builder()
            .socketFactory(new UnixDomainSocketFactory(socketFile))
            .protocols(Collections.singletonList(Protocol.H2_PRIOR_KNOWLEDGE))
            .build();
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Dec 24 03:46:30 GMT 2018
    - 2.1K bytes
    - Click Count (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt

      )
    
      override fun connectEnd(
        connection: Connection,
        route: Route,
        call: Call,
      ) {
        logEvent(ConnectionEvent.ConnectEnd(System.nanoTime(), connection, route, call))
      }
    
      override fun connectionClosed(connection: Connection) = logEvent(ConnectionEvent.ConnectionClosed(System.nanoTime(), connection))
    
      override fun connectionAcquired(
        connection: Connection,
        call: Call,
      ) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/suggest/request/suggest/SuggestRequestQueryBuildingTest.java

            QueryBuilder result = request.buildQuery("", Collections.emptyList());
            assertNotNull(result);
            assertTrue("Empty query should produce MatchAllQuery", result instanceof MatchAllQueryBuilder);
        }
    
        @Test
        public void test_buildQuery_nullQuery() {
            QueryBuilder result = request.buildQuery(null, Collections.emptyList());
            assertNotNull(result);
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 19.8K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/job/IndexExportJobTest.java

            final String json = new JsonIndexExportFormatter().format(source, Collections.emptySet());
    
            assertFalse(json.contains("field_with_null"));
        }
    
        @Test
        public void test_jsonFormatter_emptyMap() {
            final String json = new JsonIndexExportFormatter().format(Collections.emptyMap(), Collections.emptySet());
    
            assertTrue(json.contains("{"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 09:08:38 GMT 2026
    - 66.1K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/lifecycle/providers/AbstractLifecycleProvider.java

                }
            }
    
            this.lifecycle = new Lifecycle(
                    id,
                    Collections.unmodifiableList(Arrays.asList(phases)),
                    defaultBindings == null ? null : Collections.unmodifiableMap(defaultBindings));
        }
    
        @Override
        public Lifecycle get() {
            return lifecycle;
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  7. src/test/java/jcifs/http/HandlerTest.java

            URLConnection connection = handler.openConnection(url);
    
            assertNotNull(connection, "Connection should not be null.");
            assertTrue(connection instanceof NtlmHttpURLConnection, "Connection should be an instance of NtlmHttpURLConnection.");
        }
    
        @Test
        void testOpenConnection_UnknownProtocol_ThrowsIOException() {
            // This test verifies that attempting to open a connection for an unsupported protocol
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/llm/RelevanceEvaluationResult.java

                final boolean hasRelevantResults) {
            this.relevantDocIds = relevantDocIds != null ? Collections.unmodifiableList(relevantDocIds) : Collections.emptyList();
            this.relevantIndexes = relevantIndexes != null ? Collections.unmodifiableList(relevantIndexes) : Collections.emptyList();
            this.hasRelevantResults = hasRelevantResults;
        }
    
        /**
         * Returns the list of relevant document IDs.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 01 08:11:18 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/artifact/deployer/SimpleArtifactMetadataSource.java

            return Collections.singletonList(new DefaultArtifactVersion("10.1.3"));
        }
    
        @Override
        public List<ArtifactVersion> retrieveAvailableVersionsFromDeploymentRepository(
                Artifact artifact, ArtifactRepository localRepository, ArtifactRepository remoteRepository) {
            return Collections.singletonList(new DefaultArtifactVersion("10.1.3"));
        }
    
        @Override
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  10. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

        server.bodyLimit = 7 * 512 * 1024
        val connection = server.url("/").toUrl().openConnection() as HttpURLConnection
        connection.setRequestMethod("POST")
        connection.setDoOutput(true)
        connection.setFixedLengthStreamingMode(1024 * 1024 * 1024) // 1 GB
        connection.connect()
        val out = connection.outputStream
        val data = ByteArray(1024 * 1024)
        var i = 0
        while (i < 1024) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Jul 03 13:16:34 GMT 2025
    - 22.3K bytes
    - Click Count (0)
Back to Top