Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 161 - 170 of 2,451 for Annotation (0.27 seconds)

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

    import androidx.test.core.app.ApplicationProvider
    import okhttp3.OkHttp
    import org.junit.Before
    import org.junit.runner.RunWith
    import org.robolectric.RobolectricTestRunner
    import org.robolectric.annotation.Config
    
    @RunWith(RobolectricTestRunner::class)
    @Config(
      sdk = [23, 26, 30, 33, 35],
    )
    class RobolectricOkHttpClientTest : BaseOkHttpClientUnitTest() {
      @Before
      fun setContext() {
    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. guava/src/com/google/common/reflect/TypeResolver.java

             * annotations. This is intentional. The semantics of annotation handling during
             * type resolution are unclear and have changed across Java versions. Until there's
             * a clear specification for what annotations should mean on resolved TypeVariables
             * with modified bounds, annotation methods will throw
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 22:30:05 GMT 2025
    - 25.3K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/io/PatternFilenameFilter.java

     * or implied. See the License for the specific language governing permissions and limitations under
     * the License.
     */
    
    package com.google.common.io;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.base.Preconditions;
    import java.io.File;
    import java.io.FilenameFilter;
    import java.util.regex.Pattern;
    import java.util.regex.PatternSyntaxException;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 2.7K bytes
    - Click Count (1)
  4. tests/test_ambiguous_params.py

            async def get2(foo: Annotated[int, Depends(dep)] = Depends(dep)):
                pass  # pragma: nocover
    
        with pytest.raises(
            AssertionError,
            match=(
                "Cannot specify a FastAPI annotation in `Annotated` and `Depends` as a"
                " default value together for 'foo'"
            ),
        ):
    
            @app.get("/")
            async def get3(foo: Annotated[int, Query(min_length=1)] = Depends(dep)):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 2K bytes
    - Click Count (1)
  5. api/maven-api-model/src/main/mdo/maven.mdo

              </description>
              <association>
                <type>String</type>
                <multiplicity>*</multiplicity>
              </association>
              <annotations>
                <annotation>@Deprecated(since = "4.0.0")</annotation>
              </annotations>
            </field>
            <field xdoc.separator="blank">
              <name>subprojects</name>
              <version>4.1.0+</version>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Nov 26 03:07:35 GMT 2025
    - 133.3K bytes
    - Click Count (0)
  6. docs/en/docs/tutorial/dependencies/classes-as-dependencies.md

    **FastAPI** calls the `CommonQueryParams` class. This creates an "instance" of that class and the instance will be passed as the parameter `commons` to your function.
    
    ## Type annotation vs `Depends` { #type-annotation-vs-depends }
    
    Notice how we write `CommonQueryParams` twice in the above code:
    
    //// tab | Python 3.9+
    
    ```Python
    commons: Annotated[CommonQueryParams, Depends(CommonQueryParams)]
    ```
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  7. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiTypeProvider.kt

        mapOf(
            // Built-ins
            "java.lang.Cloneable" to "kotlin.Cloneable",
            "java.lang.Comparable" to "kotlin.Comparable",
            "java.lang.Enum" to "kotlin.Enum",
            "java.lang.annotation.Annotation" to "kotlin.Annotation",
            "java.lang.Deprecated" to "kotlin.Deprecated",
            "java.lang.CharSequence" to "kotlin.CharSequence",
            "java.lang.Number" to "kotlin.Number",
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Mar 12 15:56:18 GMT 2025
    - 20.2K bytes
    - Click Count (0)
  8. CHANGELOG/CHANGELOG-1.6.md

      * You can find the PodSpec tolerations that were created as annotations (if any) in a controller definition by doing `kubectl get <controller kind> <controller name> -o yaml` and looking for the "Annotation" section with the annotation key `scheduler.alpha.kubernetes.io/tolerations` (This will work whether you are running Kubernetes 1.5 or 1.6).
    Created: Fri Dec 26 09:05:12 GMT 2025
    - Last Modified: Thu Dec 24 02:28:26 GMT 2020
    - 304K bytes
    - Click Count (0)
  9. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

    import java.io.ByteArrayInputStream;
    import java.io.File;
    import java.io.InputStream;
    import java.io.Reader;
    import java.io.StringReader;
    import java.lang.annotation.ElementType;
    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    import java.lang.reflect.Array;
    import java.lang.reflect.InvocationTargetException;
    import java.lang.reflect.Method;
    import java.lang.reflect.Type;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 28.7K bytes
    - Click Count (0)
  10. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/Android10SocketAdapter.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.platform.android
    
    import android.annotation.SuppressLint
    import android.net.ssl.SSLSockets
    import android.os.Build
    import java.io.IOException
    import java.lang.IllegalArgumentException
    import javax.net.ssl.SSLSocket
    import okhttp3.Protocol
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2.8K bytes
    - Click Count (0)
Back to Top