Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for awkward (0.04 sec)

  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())
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 16:25:39 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/FormBody.kt

      }
    
      /**
       * Either writes this request to [sink] or measures its content length. We have one method
       * do double-duty to make sure the counting and content are consistent, particularly when it comes
       * to awkward operations like measuring the encoded length of header strings, or the
       * length-in-digits of an encoded integer.
       */
      private fun writeOrCountBytes(
        sink: BufferedSink?,
        countBytes: Boolean,
      ): Long {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/HttpHeaders.kt

    import okio.Buffer
    import okio.ByteString.Companion.encodeUtf8
    
    private val QUOTED_STRING_DELIMITERS = "\"\\".encodeUtf8()
    private val TOKEN_DELIMITERS = "\t ,=".encodeUtf8()
    
    /**
     * Parse RFC 7235 challenges. This is awkward because we need to look ahead to know how to
     * interpret a token.
     *
     * For example, the first line has a parameter name/value pair and the second line has a single
     * token68:
     *
     * ```
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  4. 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):
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 19 13:40:52 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapInverseTester.java

        assertEquals(pair.forward, copy.forward);
        assertEquals(pair.backward, copy.backward);
        assertSame(copy.backward, copy.forward.inverse());
        assertSame(copy.forward, copy.backward.inverse());
      }
    
      private static final class BiMapPair<K, V> implements Serializable {
        final BiMap<K, V> forward;
        final BiMap<V, K> backward;
    
        BiMapPair(BiMap<K, V> original) {
          this.forward = original;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/BiMapInverseTester.java

        assertEquals(pair.forward, copy.forward);
        assertEquals(pair.backward, copy.backward);
        assertSame(copy.backward, copy.forward.inverse());
        assertSame(copy.forward, copy.backward.inverse());
      }
    
      private static final class BiMapPair<K, V> implements Serializable {
        final BiMap<K, V> forward;
        final BiMap<V, K> backward;
    
        BiMapPair(BiMap<K, V> original) {
          this.forward = original;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/ConverterTest.java

              public Integer apply(String input) {
                return Integer.parseInt(input);
              }
            };
        Function<Object, String> backward = toStringFunction();
    
        Converter<String, Number> converter = Converter.<String, Number>from(forward, backward);
    
        assertNull(converter.convert(null));
        assertNull(converter.reverse().convert(null));
    
        assertEquals((Integer) 5, converter.convert("5"));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/crawler/util/FieldConfigs.java

             * for backward compatibility.
             *
             * @return true if caching is enabled, false otherwise
             */
            public boolean isCache() {
                for (final String value : values) {
                    if ("cache".equalsIgnoreCase(value)) {
                        return true;
                    }
                }
                // backward compatibility
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/Primitives.java

        WRAPPER_TO_PRIMITIVE_TYPE = Collections.unmodifiableMap(wrapToPrim);
      }
    
      private static void add(
          Map<Class<?>, Class<?>> forward,
          Map<Class<?>, Class<?>> backward,
          Class<?> key,
          Class<?> value) {
        forward.put(key, value);
        backward.put(value, key);
      }
    
      /**
       * Returns an immutable set of all nine primitive types (including {@code void}). Note that a
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. src/main/resources/fess_job.xml

    	<component name="pingJob" class="org.codelibs.fess.job.PingSearchEngineJob" instance="prototype">
    	</component>
    	<component name="pythonJob" class="org.codelibs.fess.job.PythonJob" instance="prototype">
    	</component>
    	<!-- Backward Compatibility  -->
    	<component name="pingEsJob" class="org.codelibs.fess.job.PingSearchEngineJob" instance="prototype">
    	</component>
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jun 12 22:21:45 UTC 2025
    - 1.5K bytes
    - Viewed (0)
Back to top