Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1541 - 1550 of 3,963 for void (0.02 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/PostStreamingWithPipe.java

          System.out.println(response.body().string());
        }
      }
    
      private void streamPrimesToSinkAsynchronously(final BufferedSink sink) {
        Thread thread = new Thread("writer") {
          @Override public void run() {
            try {
              sink.writeUtf8("Numbers\n");
              sink.writeUtf8("-------\n");
              for (int i = 2; i <= 997; i++) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jul 06 03:18:15 UTC 2018
    - 3.1K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapKeySetTester.java

    public class MultimapKeySetTester<K, V> extends AbstractMultimapTester<K, V, Multimap<K, V>> {
      public void testKeySet() {
        for (Entry<K, V> entry : getSampleElements()) {
          assertTrue(multimap().keySet().contains(entry.getKey()));
        }
      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require(ALLOWS_NULL_KEYS)
      public void testKeySetContainsNullKeyPresent() {
        initMultimapWithNullKey();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. api/maven-api-core/src/test/java/org/apache/maven/api/services/RequestTraceTest.java

            assertEquals("child-data", childTrace.data());
        }
    
        @Test
        void testPredefinedContexts() {
            assertEquals("plugin", RequestTrace.CONTEXT_PLUGIN);
            assertEquals("project", RequestTrace.CONTEXT_PROJECT);
            assertEquals("bootstrap", RequestTrace.CONTEXT_BOOTSTRAP);
        }
    
        @Test
        void testNullValues() {
            RequestTrace trace = new RequestTrace(null, null, null);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/spnego/NegTokenTargTest.java

        @Test
        @DisplayName("default constructor – unspecified result")
        void testDefaultResult() {
            NegTokenTarg nt = new NegTokenTarg();
            assertEquals(NegTokenTarg.UNSPECIFIED_RESULT, nt.getResult(), "new object should have UNSPECIFIED_RESULT");
        }
    
        @Test
        @DisplayName("serialization omits tags when field is null")
        void testSerializationOmittingNullFields() throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/MapGetTester.java

      @CollectionSize.Require(absent = ZERO)
      public void testGet_yes() {
        assertEquals("get(present) should return the associated value", v0(), get(k0()));
      }
    
      public void testGet_no() {
        assertNull("get(notPresent) should return null", get(k3()));
      }
    
      @MapFeature.Require(ALLOWS_NULL_KEY_QUERIES)
      public void testGet_nullNotContainedButAllowed() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/AbstractListIndexOfTester.java

      @CollectionSize.Require(absent = ZERO)
      public void testFind_yes() {
        assertEquals(
            getMethodName() + "(firstElement) should return 0", 0, find(getOrderedElements().get(0)));
      }
    
      public void testFind_no() {
        assertEquals(getMethodName() + "(notPresent) should return -1", -1, find(e3()));
      }
    
      @CollectionFeature.Require(ALLOWS_NULL_VALUES)
      public void testFind_nullNotContainedButSupported() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/dict/DictionaryManager.java

        }
    
        /**
         * Initializes the dictionary manager after construction.
         * Sets up the relationship between this manager and all registered creators.
         */
        @PostConstruct
        public void init() {
            if (logger.isDebugEnabled()) {
                logger.debug("Initialize {}", this.getClass().getSimpleName());
            }
            creatorList.forEach(creator -> {
                creator.setDictionaryManager(this);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/thumbnail/impl/EmptyGeneratorTest.java

        }
    
        public void test_isAvailable() {
            // Initialize without container
            emptyGenerator = new EmptyGenerator();
    
            // Test that isAvailable returns true for EmptyGenerator
            assertTrue(emptyGenerator.isAvailable());
            // Test cached availability
            assertTrue(emptyGenerator.isAvailable());
        }
    
        public void test_isTarget() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeResponseTest.java

     *   <li>null buffer handling</li>
     * </ul>
     */
    final class TransWaitNamedPipeResponseTest {
    
        /**
         * Verify that the default constructor creates an instance.
         */
        @Test
        void constructorInitialisesInstance() {
            // Arrange & Act
            TransWaitNamedPipeResponse resp = new TransWaitNamedPipeResponse();
            // Assert
            assertNotNull(resp, "Instance should not be null");
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/SmbComQueryInformationTest.java

        private static final String TEST_FILE_NAME = "testFile.txt";
        private SmbComQueryInformation smbComQueryInformation;
    
        @BeforeEach
        public void setUp() {
            smbComQueryInformation = new SmbComQueryInformation(TEST_FILE_NAME);
        }
    
        @Test
        public void testConstructor() {
            // Test if the constructor sets the file name and command correctly
            assertEquals(TEST_FILE_NAME, smbComQueryInformation.path);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
Back to top