Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 3,963 for void (0.02 sec)

  1. docs/features/events.md

        printEvent("callEnd");
      }
    
      @Override public void dnsStart(Call call, String domainName) {
        printEvent("dnsStart");
      }
    
      @Override public void dnsEnd(Call call, String domainName, List<InetAddress> inetAddressList) {
        printEvent("dnsEnd");
      }
    
      ...
    }
    ```
    
    We make a couple calls:
    
    ```java
    Request request = new Request.Builder()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 7.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java

        }
    
        @Test
        public void testGetName() {
            Smb2LeaseKey key = new Smb2LeaseKey();
            DirectoryLeaseContext context = new DirectoryLeaseContext(key, 0, DirectoryCacheScope.IMMEDIATE_CHILDREN);
    
            byte[] name = context.getName();
            assertNotNull(name);
            assertEquals("DLse", new String(name));
        }
    
        @Test
        public void testSettersAndGetters() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/project/inheritance/DefaultModelInheritanceAssembler.java

        @Override
        public void assembleModelInheritance(Model child, Model parent, String childPathAdjustment) {
            throw new UnsupportedOperationException();
        }
    
        @Override
        public void assembleModelInheritance(Model child, Model parent) {
            throw new UnsupportedOperationException();
        }
    
        @Override
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformerTest.java

            final Object obj = xmlTransformer.getData(accessResultDataImpl);
            assertNull(obj);
        }
    
        public void test_dataClass() {
            assertNull(xmlTransformer.dataClass);
            assertEquals(Map.class, xmlMapTransformer.dataClass);
        }
    
        public void test_getData_dataMap() throws Exception {
            final String value = "<?xml version=\"1.0\"?>\n"//
                    + "<doc>\n"//
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  5. samples/guide/src/main/java/okhttp3/recipes/AsynchronousGet.java

      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("http://publicobject.com/helloworld.txt")
            .build();
    
        client.newCall(request).enqueue(new Callback() {
          @Override public void onFailure(Call call, IOException e) {
            e.printStackTrace();
          }
    
          @Override public void onResponse(Call call, Response response) throws IOException {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun May 22 01:29:42 UTC 2016
    - 1.9K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/text/TokenizerTest.java

        /**
         * @throws Exception
         */
        @Test
        public void testEOF() throws Exception {
            final Tokenizer tokenizer = new Tokenizer("");
            assertThat(tokenizer.nextToken(), is(Tokenizer.TT_EOF));
            assertThat(tokenizer.nextToken(), is(Tokenizer.TT_EOF));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testWhitespace() throws Exception {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/witness/WitnessNotification.java

         *
         * @param address the new IP address
         */
        public void addNewIPAddress(InetAddress address) {
            newIPAddresses.add(new WitnessIPAddress(address));
        }
    
        /**
         * Adds an old IP address to the notification.
         *
         * @param address the old IP address
         */
        public void addOldIPAddress(InetAddress address) {
            oldIPAddresses.add(new WitnessIPAddress(address));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/ExtractorFactoryTest.java

        }
    
        public void test_builder() {
            assertEquals("test", extractorFactory.builder(new ByteArrayInputStream("test".getBytes()), null).extract().getContent());
            assertEquals("test",
                    extractorFactory.builder(new ByteArrayInputStream("test".getBytes()), null).filename("test.txt").extract().getContent());
        }
    
        public void test_addExtractor_weight() {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java

            @Override
            public void execute(Runnable command) {}
          };
        }
    
        @Override
        protected void run() throws Exception {}
      }
    
      public void testStopWhileStarting_runNotCalled() throws Exception {
        CountDownLatch started = new CountDownLatch(1);
        FakeService service =
            new FakeService() {
              @Override
              protected void startUp() throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/entity/QueryContext.java

         * @param queryBuilder The query builder to use.
         */
        public void setQueryBuilder(final QueryBuilder queryBuilder) {
            this.queryBuilder = queryBuilder;
        }
    
        /**
         * Adds sort builders to the query context.
         * @param sortBuilders Variable number of sort builders to add.
         */
        public void addSorts(final SortBuilder<?>... sortBuilders) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.4K bytes
    - Viewed (0)
Back to top