Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 161 - 170 of 5,293 for class (0.02 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/ServerTruncatesRequestTest.kt

          expectedEvents += SecureConnectEnd::class
        }
        expectedEvents += ConnectEnd::class
        expectedEvents += ConnectionAcquired::class
        expectedEvents += RequestHeadersStart::class
        expectedEvents += RequestHeadersEnd::class
        expectedEvents += RequestBodyStart::class
        // ... but we can read the response even after writing the request fails.
        expectedEvents += RequestFailed::class
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  2. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/GradleModuleApiAttribute.kt

     * limitations under the License.
     */
    
    package gradlebuild.basics
    
    import org.gradle.api.attributes.Attribute
    
    
    enum class GradleModuleApiAttribute {
        API,
        IMPLEMENTATION;
    
        companion object {
            val attribute = Attribute.of(GradleModuleApiAttribute::class.java)
        }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 864 bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetCountTester.java

    @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.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class MultisetCountTester<E> extends AbstractMultisetTester<E> {
    
      public void testCount_0() {
        assertEquals("multiset.count(missing) didn't return 0", 0, getMultiset().count(e3()));
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilder.java

    import gradlebuild.docs.dsl.source.model.TypeMetaData;
    import org.w3c.dom.Element;
    
    import java.util.Collection;
    import java.util.HashSet;
    import java.util.List;
    import java.util.Set;
    
    public class ClassDocMethodsBuilder extends ModelBuilderSupport {
        private final JavadocConverter javadocConverter;
        private final GenerationListener listener;
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.2K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

              .buildOrThrow();
    
      public void testNulls() {
        NullPointerTester tester =
            new NullPointerTester().setDefault(String.class, "HmacMD5").setDefault(Key.class, MD5_KEY);
        tester.testAllPublicConstructors(MacHashFunction.class);
        tester.testAllPublicInstanceMethods(new MacHashFunction("HmacMD5", MD5_KEY, "toString"));
      }
    
      public void testHashing() throws Exception {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 27 16:19:35 GMT 2024
    - 13.8K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/RequestCommonTest.kt

            .url("https://square.com")
        val requestA = builder.tag(String::class, "a").build()
        val requestB = builder.tag(String::class, "b").build()
        val requestC = requestA.newBuilder().tag(String::class, "c").build()
        assertThat(requestA.tag(String::class)).isSameAs("a")
        assertThat(requestB.tag(String::class)).isSameAs("b")
        assertThat(requestC.tag(String::class)).isSameAs("c")
      }
    
      @Test
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Oct 24 11:36:14 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/DerivedGoogleCollectionGenerators.java

     * they are available to GWT.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @NullMarked
    public final class DerivedGoogleCollectionGenerators {
      public static class MapGenerator<K extends @Nullable Object, V extends @Nullable Object>
          implements TestMapGenerator<K, V>, DerivedGenerator {
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 6.8K bytes
    - Click Count (2)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java

      "JUnit4ClassUsedInJUnit3",
      // We use ::iterator so that we test passing a plain Iterable, not a Collection.
      "UnnecessaryMethodReference",
    })
    public class MultimapPutIterableTester<K, V> extends AbstractMultimapTester<K, V, Multimap<K, V>> {
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPutAllNonEmptyIterableOnPresentKey() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 20:54:16 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/graph/ElementOrderTest.java

    import org.jspecify.annotations.NullUnmarked;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.JUnit4;
    
    /** Tests for ordering the elements of graphs. */
    @RunWith(JUnit4.class)
    @NullUnmarked
    public final class ElementOrderTest {
      // Node order tests
    
      @Test
      public void nodeOrder_none() {
        MutableGraph<Integer> graph = GraphBuilder.directed().nodeOrder(unordered()).build();
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 8.1K bytes
    - Click Count (0)
  10. tests/test_request_params/test_query/test_optional_str.py

    # =====================================================================================
    # Without aliases
    
    
    @app.get("/optional-str")
    async def read_optional_str(p: Optional[str] = None):
        return {"p": p}
    
    
    class QueryModelOptionalStr(BaseModel):
        p: Optional[str] = None
    
    
    @app.get("/model-optional-str")
    async def read_model_optional_str(p: Annotated[QueryModelOptionalStr, Query()]):
        return {"p": p.p}
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 8.1K bytes
    - Click Count (0)
Back to Top