Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 801 - 810 of 1,222 for rval (0.03 seconds)

  1. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/util/ConfigurationExtensions.kt

    import org.gradle.api.NamedDomainObjectProvider
    import org.gradle.api.artifacts.Configuration
    import org.gradle.api.provider.Provider
    import java.io.File
    
    fun Configuration.getSingleFileProvider(): Provider<File> {
        val name = this.name
        return incoming.files.elements.map {
            require(it.size <= 1) {
                "Expected at most one file in configuration '$name' but found: $it"
            }
            it.firstOrNull()?.asFile
        }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Aug 18 18:02:41 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  2. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AnonymousClassesFilteringTest.kt

            checkBinaryCompatibleKotlin(
                v1 = """
                    fun some() {}
                """,
                v2 = """
                    fun some() {
                        val anon = object : Runnable {
                            override fun run() {}
                        }
                        anon.run()
                    }
                """
            ) {
                assertEmptyReport()
            }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 1.8K bytes
    - Click Count (0)
  3. mockwebserver-junit5/src/main/kotlin/mockwebserver3/junit5/StartStop.kt

     * field with the `@StartStop` annotation:
     *
     * ```java
     * @StartStop public final MockWebServer server = new MockWebServer();
     * ```
     *
     * Or for Kotlin:
     *
     * ```kotlin
     * @StartStop val server = MockWebServer()
     * ```
     */
    @Target(AnnotationTarget.FIELD)
    @Retention(AnnotationRetention.RUNTIME)
    @ExtendWith(StartStopExtension::class)
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Jun 19 11:44:16 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaProvider.java

            connection.connect();
            return connection;
        }
    
        @Override
        public RdmaMemoryRegion registerMemory(ByteBuffer buffer, EnumSet<RdmaAccess> access) throws IOException {
            // TCP doesn't need real memory registration
            return new TcpMemoryRegion(buffer, access);
        }
    
        @Override
        public String getProviderName() {
            return "TCP Fallback";
        }
    
        @Override
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  5. .github/ISSUE_TEMPLATE/30_contributor_regression.yml

        attributes:
          label: Context (optional)
          description: |
            How has this issue affected you? What are you trying to accomplish?
            Providing context helps us come up with a solution that is most useful in the real world
        validations:
          required: false
      - type: textarea
        id: steps-to-reproduce
        attributes:
          label: Self-contained Reproducer Project
          description: |
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Sep 09 14:48:49 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  6. okhttp/src/androidMain/kotlin/okhttp3/OkHttp.android.kt

     */
    package okhttp3
    
    import android.content.Context
    import okhttp3.internal.CONST_VERSION
    import okhttp3.internal.platform.PlatformRegistry
    
    actual object OkHttp {
      @JvmField
      actual val VERSION: String = CONST_VERSION
    
      /**
       * Configure the ApplicationContext. Not needed unless the AndroidX Startup [Initializer] is disabled, or running
       * a robolectric test.
       *
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jul 28 07:33:49 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  7. tests/test_request_params/test_form/test_required_str.py

        openapi = app.openapi()
        body_model_name = get_body_model_name(openapi, path)
    
        assert app.openapi()["components"]["schemas"][body_model_name] == {
            "properties": {
                "p_val_alias": {"title": "P Val Alias", "type": "string"},
            },
            "required": ["p_val_alias"],
            "title": body_model_name,
            "type": "object",
        }
    
    
    @pytest.mark.parametrize(
        "path",
        [
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  8. tests/test_request_params/test_header/test_list.py

    )
    def test_required_list_validation_alias_schema(path: str):
        assert app.openapi()["paths"][path]["get"]["parameters"] == [
            {
                "required": True,
                "schema": {
                    "title": "P Val Alias",
                    "type": "array",
                    "items": {"type": "string"},
                },
                "name": "p_val_alias",
                "in": "header",
            }
        ]
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:31:34 GMT 2025
    - 11K bytes
    - Click Count (0)
  9. tests/test_request_params/test_header/test_optional_str.py

            {
                "required": False,
                "schema": {
                    "anyOf": [{"type": "string"}, {"type": "null"}],
                    "title": "P Val Alias",
                },
                "name": "p_val_alias",
                "in": "header",
            }
        ]
    
    
    @pytest.mark.parametrize(
        "path",
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  10. build-logic/binary-compatibility/src/main/groovy/gradlebuild/EnrichedReportRenderer.groovy

                    function getAllErrorCorrections() {
                        var changeElements = \$(".well pre");
                        var result = [];
                        changeElements.each((idx, val) => result.push(JSON.parse(val.textContent)));
                        return result;
                    }
    
                    function appendErrorCorrections(reason) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Feb 07 20:38:43 GMT 2023
    - 7.2K bytes
    - Click Count (0)
Back to Top