Search Options

Results per page
Sort
Preferred Languages
Advance

Results 741 - 750 of 953 for val (0.72 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/internal/duplex/AsyncRequestBody.kt

    import okio.BufferedSink
    import org.junit.jupiter.api.Assertions.assertTrue
    
    /** A duplex request body that keeps the provided sinks so they can be written to later.  */
    class AsyncRequestBody : RequestBody() {
      private val requestBodySinks: BlockingQueue<BufferedSink> = LinkedBlockingQueue()
    
      override fun contentType(): MediaType? = null
    
      override fun writeTo(sink: BufferedSink) {
        requestBodySinks.add(sink)
      }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/SortAcceptedApiChangesTask.kt

     * so that they are alphabetically sorted (by type, then member).
     */
    @CacheableTask
    abstract class SortAcceptedApiChangesTask : AbstractAcceptedApiChangesMaintenanceTask() {
    
        @TaskAction
        fun execute() {
            val gson: Gson = GsonBuilder().setFormattingStyle(FormattingStyle.PRETTY.withIndent("    ")).create()
            loadChanges().mapValues {
                gson.toJson(AcceptedApiChanges(sortChanges(it.value)))
            }.forEach {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Apr 09 14:09:16 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  3. build-logic/jvm/src/main/kotlin/gradlebuild.jvm-compile.gradle.kts

    // JvmCompilation instances control the way each source set is compiled -- most importantly,
    // it controls the JVM version of the compilation. This allows each source set within a project
    // to compile to different JVM versions.
    
    val jvmCompile = extensions.create<JvmCompileExtension>(JvmCompileExtension.NAME)
    
    jvmCompile.compilations.configureEach {
        // Assume the compilation does not use any workarounds
        usesJdkInternals = false
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Jun 24 13:46:12 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformToAsciiData.kt

      var output: String? = null
      var comment: String? = null
    
      override fun toString() = "input=$input output=$output"
    
      companion object {
        fun load(): List<WebPlatformToAsciiData> {
          val path = okHttpRoot / "okhttp/src/jvmTest/resources/web-platform-test-toascii.json"
          return SYSTEM_FILE_SYSTEM.read(path) {
            Json.decodeFromString<List<WebPlatformToAsciiData>>(readUtf8())
          }
        }
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. .teamcity/src/main/kotlin/configurations/SmokeIdeTests.kt

    import model.Stage
    
    class SmokeIdeTests(
        model: CIBuildModel,
        stage: Stage,
        flakyTestStrategy: FlakyTestStrategy,
    ) : OsAwareBaseGradleBuildType(os = Os.LINUX, stage = stage, init = {
            val suffix = if (flakyTestStrategy == FlakyTestStrategy.ONLY)"_FlakyTestQuarantine" else ""
            id(buildTypeId(model) + suffix)
            name = "Smoke Ide Tests$suffix"
            description = "Tests against IDE sync process"
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Oct 09 05:26:45 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  6. tests/test_request_params/test_file/test_list.py

            "properties": {
                "p_val_alias": {
                    "type": "array",
                    "items": {"type": "string", "format": "binary"},
                    "title": "P Val Alias",
                },
            },
            "required": ["p_val_alias"],
            "title": body_model_name,
            "type": "object",
        }
    
    
    @pytest.mark.parametrize(
        "path",
        [
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:31:34 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  7. cmd/handler-api.go

    	return func(w http.ResponseWriter, r *http.Request) {
    		globalHTTPStats.incS3RequestsIncoming()
    
    		if r.Header.Get(globalObjectPerfUserMetadata) == "" {
    			if val := globalServiceFreeze.Load(); val != nil {
    				if unlock, ok := val.(chan struct{}); ok && unlock != nil {
    					// Wait until unfrozen.
    					select {
    					case <-unlock:
    					case <-r.Context().Done():
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  8. .teamcity/src/main/kotlin/util/UpdateWrapper.kt

    import promotion.RELEASE_CANDIDATE_BUILD_CONFIGURATION_ID
    import vcsroots.useAbsoluteVcs
    
    object UpdateWrapper : BuildType({
        name = "UpdateWrapper"
        id("UpdateWrapper")
    
        val vcsBranch = VersionedSettingsBranch.fromDslContext()
    
        vcs.useAbsoluteVcs(vcsBranch.vcsRootId())
    
        requirements {
            requiresOs(Os.LINUX)
        }
    
        params {
            text(
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Jul 24 03:08:48 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  9. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/nullaway/NullawayAttributes.kt

    import org.gradle.api.attributes.CompatibilityCheckDetails
    import org.gradle.api.provider.Provider
    
    enum class NullawayState {
        ENABLED, DISABLED
    }
    
    object NullawayAttributes {
        val nullawayAttribute = Attribute.of("org.gradle.gradlebuild.nullaway", NullawayState::class.java)
    
        fun addToConfiguration(configuration: NamedDomainObjectProvider<Configuration>, value: Provider<NullawayState>) {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Aug 20 13:18:23 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  10. tests/test_request_params/test_header/test_required_str.py

    )
    def test_required_validation_alias_schema(path: str):
        assert app.openapi()["paths"][path]["get"]["parameters"] == [
            {
                "required": True,
                "schema": {"title": "P Val Alias", "type": "string"},
                "name": "p_val_alias",
                "in": "header",
            }
        ]
    
    
    @pytest.mark.parametrize(
        "path",
        [
            "/required-validation-alias",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 10K bytes
    - Viewed (0)
Back to top