Search Options

Results per page
Sort
Preferred Languages
Advance

Results 4831 - 4840 of 5,353 for Return (0.08 sec)

  1. regression-test/src/androidTest/java/okhttp/regression/compare/AndroidHttpEngineTest.kt

                }
              },
            ).setPriority(REQUEST_PRIORITY_MEDIUM)
            .setDirectExecutorAllowed(true)
            .setTrafficStatsTag(101)
            .build()
    
        req.start()
        return completableFuture
      }
    
      @Test
      fun urlConnection() {
        val conn = engine.openConnection(URL("https://google.com/robots.txt")) as HttpURLConnection
    
        val text =
          conn.inputStream.use {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/MapEqualsTester.java

        HashMap<K, V> map = new HashMap<>();
        for (Entry<? extends K, ? extends V> entry : entries) {
          map.put(entry.getKey(), entry.getValue());
        }
        return map;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedInputs.java

            String message, String a1, String a2, String a3, String a4, String a5, String a6) {
          super(message);
        }
    
        public Throwable getAntecedent() {
          return antecedent;
        }
      }
    
      @SuppressWarnings("unused") // we're testing that they're not used
      public static final class ExceptionWithSomePrivateConstructors extends Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/mdo/paramdoc.mdo

                    {
                        Expression expr = (Expression) it.next();
    
                        expressionsBySyntax.put( expr.getSyntax(), expr );
                    }
                }
            }
    
            return expressionsBySyntax;
        }
    
        public void flushExpressionsBySyntax()
        {
            expressionsBySyntax = null;
        }
    ]]></code>
            </codeSegment>
          </codeSegments>
        </class>
        <class>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/DocumentHelperTest.java

        }
    
        public void test_getContent_maxAlphanum() {
            DocumentHelper documentHelper = new DocumentHelper() {
                protected int getMaxAlphanumTermSize() {
                    return 2;
                }
            };
    
            ResponseData responseData = new ResponseData();
            Map<String, Object> dataMap = new HashMap<>();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 13K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java

            @Test
            @DisplayName("Should return correct size of 24 bytes")
            void testSize() {
                // Given
                SrvCopychunk chunk = new SrvCopychunk(0, 0, 0);
    
                // When
                int size = chunk.size();
    
                // Then
                assertEquals(EXPECTED_SIZE, size);
            }
    
            @ParameterizedTest
            @DisplayName("Should return same size regardless of values")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt

        assertThat(parse("http://host/\u0008").encodedPath).isEqualTo("/%08")
        assertThat(parse("http://host/\ufffd").encodedPath).isEqualTo("/%EF%BF%BD")
      }
    
      @Test
      fun usernameCharacters() {
        if (!isJvm) return // TODO: this test is broken on non-JVM platforms.
        UrlComponentEncodingTester
          .newInstance()
          .override(
            Encoding.PERCENT,
            '['.code,
            ']'.code,
            '{'.code,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Aug 04 07:38:48 UTC 2025
    - 69.9K bytes
    - Viewed (0)
  8. android/guava-testlib/test/com/google/common/collect/testing/HelpersTest.java

        } catch (AssertionFailedError expected) {
        }
        try {
          assertEmpty(
              new Iterable<String>() {
                @Override
                public Iterator<String> iterator() {
                  return singleton("a").iterator();
                }
              });
          throw new Error();
        } catch (AssertionFailedError expected) {
        }
      }
    
      public void testIsEmpty_map() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java

                  runLatch.countDown();
                  taskLatch.await();
                  if (throwException) {
                    throw new IllegalStateException("Fail");
                  }
                  return 25;
                }
              });
    
      @Override
      protected void setUp() throws Exception {
        super.setUp();
    
        exec = newCachedThreadPool();
    
        task.addListener(
            new Runnable() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  10. guava-testlib/test/com/google/common/collect/testing/HelpersTest.java

        } catch (AssertionFailedError expected) {
        }
        try {
          assertEmpty(
              new Iterable<String>() {
                @Override
                public Iterator<String> iterator() {
                  return singleton("a").iterator();
                }
              });
          throw new Error();
        } catch (AssertionFailedError expected) {
        }
      }
    
      public void testIsEmpty_map() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 4.9K bytes
    - Viewed (0)
Back to top