Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 180 for Value (0.12 sec)

  1. okhttp/src/test/java/okhttp3/RequestTest.kt

          builder.header("", "Value")
        }
        assertFailsWith<IllegalArgumentException> {
          builder.addHeader("", "Value")
        }
      }
    
      @Test
      fun headerAllowsTabOnlyInValues() {
        val builder = Request.Builder()
        builder.header("key", "sample\tvalue")
        assertFailsWith<IllegalArgumentException> {
          builder.header("sample\tkey", "value")
        }
      }
    
      @Test
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  2. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt

            val rootBuildDir: DirectoryProperty
    
            /**
             * Key is the path of a task, value is the possible report dirs it generates.
             */
            val taskPathToReports: MapProperty<String, List<File>>
    
            /**
             * Key is the path of the test, value is Test.binaryResultsDir
             */
            val testPathToBinaryResultsDirs: MapProperty<String, File>
        }
    
        private
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Jul 28 16:19:47 GMT 2023
    - 12.5K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/UpgradedPropertiesChangesTest.kt

                                public String getSourceCompatibility() {
                                    return "";
                                }
                                public void setSourceCompatibility(String value) {
                                }
                            }
                        """
                    )
                },
                v2 = {
                    withFile(
                        "java/com/example/Task.java",
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Apr 23 08:40:36 GMT 2024
    - 20.2K bytes
    - Viewed (0)
  4. common-protos/k8s.io/api/extensions/v1beta1/generated.proto

      // The maximum number of DaemonSet pods that can be unavailable during the
      // update. Value can be an absolute number (ex: 5) or a percentage of total
      // number of DaemonSet pods at the start of the update (ex: 10%). Absolute
      // number is calculated from percentage by rounding up.
      // This cannot be 0 if MaxSurge is 0
      // Default value is 1.
      // Example: when this is set to 30%, at most 30% of the total number of nodes
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 45.6K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/analysis-api-fir-generator/src/org/jetbrains/kotlin/analysis/api/fir/generator/HLDiagnosticConverter.kt

                    HLMapParameterConversion(
                        "key",
                        "value",
                        conversionForCollectionValues,
                        conversionForCollectionValues
                    )
                )
                put(
                    Collection::class,
                    HLCollectionParameterConversion("value", conversionForCollectionValues)
                )
                put(
                    Pair::class,
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Mon Nov 06 14:41:18 GMT 2023
    - 16.6K bytes
    - Viewed (0)
  6. .teamcity/src/main/kotlin/model/PerformanceTestBucketProvider.kt

        val durationsPerTestProject = projectDurations.groupBy({ it.testProject }, { it.scenarioDurations })
        durationsPerTestProject.forEach { (key, value) -> if (value.size != 1) throw IllegalArgumentException("More than one scenario split for test project $key: $projectDurations") }
        return durationsPerTestProject
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Mon Feb 19 11:22:56 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt

            .build(),
        )
        val webSocket = newWebSocket()
        clientListener.assertFailure(
          101,
          null,
          ProtocolException::class.java,
          "Expected 'Connection' header value 'Upgrade' but was 'null'",
        )
        webSocket.cancel()
      }
    
      @Test
      @Throws(IOException::class)
      fun wrongConnectionHeader() {
        webServer.enqueue(
          MockResponse.Builder()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Mar 31 17:16:15 GMT 2024
    - 35.2K bytes
    - Viewed (1)
  8. okhttp/src/main/kotlin/okhttp3/MultipartBody.kt

            return Part(headers, body)
          }
    
          @JvmStatic
          fun createFormData(
            name: String,
            value: String,
          ): Part = createFormData(name, null, value.toRequestBody())
    
          @JvmStatic
          fun createFormData(
            name: String,
            filename: String?,
            body: RequestBody,
          ): Part {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.9K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/security/simple-oauth2.md

        ```
    
    !!! info
        The additional header `WWW-Authenticate` with value `Bearer` we are returning here is also part of the spec.
    
        Any HTTP (error) status code 401 "UNAUTHORIZED" is supposed to also return a `WWW-Authenticate` header.
    
        In the case of bearer tokens (our case), the value of that header should be `Bearer`.
    
        You can actually skip that extra header and it would still work.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/Headers.kt

          name: String,
          value: String,
        ) = commonAdd(name, value)
    
        /**
         * Add a header with the specified name and value. Does validation of header names, allowing
         * non-ASCII values.
         */
        fun addUnsafeNonAscii(
          name: String,
          value: String,
        ) = apply {
          headersCheckName(name)
          addLenient(name, value)
        }
    
        /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.5K bytes
    - Viewed (0)
Back to top