Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 124 for lety (0.92 sec)

  1. okcurl/src/main/kotlin/okhttp3/curl/internal/-MainCommon.kt

      return request.build()
    }
    
    private fun Main.mediaType(): MediaType? {
      val mimeType =
        headers?.let {
          for (header in it) {
            val parts = header.split(':', limit = 2)
            if ("Content-Type".equals(parts[0], ignoreCase = true)) {
              return@let parts[1].trim()
            }
          }
          return@let null
        } ?: "application/x-www-form-urlencoded"
    
      return mimeType.toMediaTypeOrNull()
    }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/QueueOfferTester.java

    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests offer operations on a queue. Can't be invoked directly; please
     * see {@link com.google.common.collect.testing.CollectionTestSuiteBuilder}.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/QueueTestSuiteBuilder.java

    import java.util.ArrayList;
    import java.util.List;
    
    /**
     * Creates, based on your criteria, a JUnit test suite that exhaustively tests a queue
     * implementation.
     *
     * @author Jared Levy
     */
    @GwtIncompatible
    public final class QueueTestSuiteBuilder<E>
        extends AbstractCollectionTestSuiteBuilder<QueueTestSuiteBuilder<E>, E> {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ComparatorsTest.java

        Comparator<Iterable<String>> lexy = Comparators.lexicographical(comparator);
    
        ImmutableList<String> empty = ImmutableList.of();
        ImmutableList<String> a = ImmutableList.of("a");
        ImmutableList<String> aa = ImmutableList.of("a", "a");
        ImmutableList<String> ab = ImmutableList.of("a", "b");
        ImmutableList<String> b = ImmutableList.of("b");
    
        testComparator(lexy, empty, a, aa, ab, b);
    
        new EqualsTester()
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetCountTester.java

    import com.google.common.collect.testing.features.CollectionSize;
    import java.lang.reflect.Method;
    import java.util.List;
    import org.junit.Ignore;
    
    /**
     * Tests for {@code Multiset#count}.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/TestQueueGenerator.java

    import java.util.Queue;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Creates queues, containing sample elements, to be tested.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @NullMarked
    public interface TestQueueGenerator<E extends @Nullable Object> extends TestCollectionGenerator<E> {
      @Override
      Queue<E> create(Object... elements);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/TestMultisetGenerator.java

    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Creates multisets, containing sample elements, to be tested.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @NullMarked
    public interface TestMultisetGenerator<E extends @Nullable Object>
        extends TestCollectionGenerator<E> {
      @Override
      Multiset<E> create(Object... elements);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/reflect/TypeParameter.java

     *       .where(new TypeParameter<T>() {}, elementType);
     * }
     * }
     *
     * @author Ben Yu
     * @since 12.0
     */
    /*
     * A nullable bound would let users create a TypeParameter instance for a parameter with a nullable
     * bound. However, it would also let them create `new TypeParameter<@Nullable T>() {}`, which
     * wouldn't behave as users might expect. Additionally, it's not clear how the TypeToken API could
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/SneakyThrows.java

       * {@code throws} clause: Some such methods can in fact throw a checked exception (e.g., by
       * calling code written in Kotlin).) Typically, we want to let a {@link Throwable} from such a
       * method propagate untouched, just as we'd typically let it do for a non-reflective call.
       * However, we can't usually write {@code throw t;} when {@code t} has a static type of {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Dec 30 18:44:22 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/SneakyThrows.java

       * {@code throws} clause: Some such methods can in fact throw a checked exception (e.g., by
       * calling code written in Kotlin).) Typically, we want to let a {@link Throwable} from such a
       * method propagate untouched, just as we'd typically let it do for a non-reflective call.
       * However, we can't usually write {@code throw t;} when {@code t} has a static type of {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Feb 03 21:52:39 UTC 2025
    - 2.4K bytes
    - Viewed (0)
Back to top