Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 46 for awkward (0.05 seconds)

  1. android-test/src/test/kotlin/okhttp/android/test/RobolectricOkHttpClientTest.kt

    @RunWith(RobolectricTestRunner::class)
    @Config(
      sdk = [23, 26, 30, 33, 35],
    )
    class RobolectricOkHttpClientTest : BaseOkHttpClientUnitTest() {
      @Before
      fun setContext() {
        // This is awkward because Robolectric won't run our initializers and we don't want test deps
        // https://github.com/robolectric/robolectric/issues/8461
        OkHttp.initialize(ApplicationProvider.getApplicationContext())
      }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Aug 30 16:25:39 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  2. mockwebserver/README.md

    Because it exercises your full HTTP stack, you can be confident that you're
    testing everything. You can even copy & paste HTTP responses from your real web
    server to create representative test cases. Or test that your code survives in
    awkward-to-reproduce situations like 500 errors or slow-loading responses.
    
    
    ### Example
    
    Use MockWebServer the same way that you use mocking frameworks like
    [Mockito](https://github.com/mockito/mockito):
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Oct 30 21:39:59 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

       * Whenever an implementation uses `instanceof` on a parameter instance, the test has to know that
       * (so much for "black box") and try instances that both do and don't pass the check. The "don't"
       * half of that is more awkward to arrange...
       */
      private static <T> Iterable<T> iterable(Collection<T> collection) {
        // return collection::iterator;
        return new Iterable<T>() {
          @Override
          public Iterator<T> iterator() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 20.9K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

     *   <li>Improved memory compactness and locality.
     *   <li>Can be queried without allocating garbage.
     *   <li>Access to {@code LongStream} features (like {@link LongStream#sum}) using {@code stream()}
     *       instead of the awkward {@code stream().mapToLong(v -> v)}.
     * </ul>
     *
     * <p>Disadvantages compared to {@code ImmutableList<Long>}:
     *
     * <ul>
     *   <li>Can't be passed directly to methods that expect {@code Iterable}, {@code Collection}, or
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 22K bytes
    - Click Count (0)
  5. guava/src/com/google/common/primitives/ImmutableIntArray.java

     *   <li>Improved memory compactness and locality.
     *   <li>Can be queried without allocating garbage.
     *   <li>Access to {@code IntStream} features (like {@link IntStream#sum}) using {@code stream()}
     *       instead of the awkward {@code stream().mapToInt(v -> v)}.
     * </ul>
     *
     * <p>Disadvantages compared to {@code ImmutableList<Integer>}:
     *
     * <ul>
     *   <li>Can't be passed directly to methods that expect {@code Iterable}, {@code Collection}, or
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 21.5K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/Maps.java

      }
    
      /**
       * Creates an {@code ImmutableMap<String, String>} from a {@code Properties} instance. Properties
       * normally derive from {@code Map<Object, Object>}, but they typically contain strings, which is
       * awkward. This method lets you get a plain-old-{@code Map} out of a {@code Properties}.
       *
       * @param properties a {@code Properties} object to be converted
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 157.6K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/Maps.java

      }
    
      /**
       * Creates an {@code ImmutableMap<String, String>} from a {@code Properties} instance. Properties
       * normally derive from {@code Map<Object, Object>}, but they typically contain strings, which is
       * awkward. This method lets you get a plain-old-{@code Map} out of a {@code Properties}.
       *
       * @param properties a {@code Properties} object to be converted
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 163.5K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/AbstractBiMap.java

      void setDelegates(Map<K, V> forward, Map<V, K> backward) {
        inverse = checkMapsAndMakeInverse(forward, backward);
        delegate = forward;
      }
    
      private AbstractBiMap<V, K> checkMapsAndMakeInverse(Map<K, V> forward, Map<V, K> backward) {
        checkArgument(forward.isEmpty());
        checkArgument(backward.isEmpty());
        checkArgument(forward != backward);
        return makeInverse(backward);
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 15:50:50 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  9. compat/maven-compat/pom.xml

        </dependency>
    
        <dependency>
          <groupId>javax.inject</groupId>
          <artifactId>javax.inject</artifactId>
          <!-- only for backward compatibility otherwhise would be provided -->
          <scope>compile</scope>
        </dependency>
        <dependency>
          <!-- only for backward compatibility -->
          <groupId>aopalliance</groupId>
          <artifactId>aopalliance</artifactId>
          <version>1.0</version>
        </dependency>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  10. architecture/standards/0009-use-american-english.md

    ### Migration and Enforcement
    
    * **New code**: All new contributions must use American English
    * **Existing code**: British English spellings in existing code should be updated opportunistically when those areas are modified, unless constrained by backward compatibility
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Nov 25 07:01:54 GMT 2025
    - 3.9K bytes
    - Click Count (0)
Back to Top