Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 863 for Val (0.01 sec)

  1. apache-maven/src/test/resources/maven-configuration.md.vm

    KIND, either express or implied.  See the License for the
    specific language governing permissions and limitations
    under the License.
    -->
    
    ]]#
    
    #macro(yesno $val)
      #if ($val) Yes #else No #end
    #end
    
    #macro(value $val)
    #if ($val) `$val` #else - #end
    #end
    
    | No | Key | Type | Description | Default Value | Since | Source |
    | --- | --- | --- | --- | --- | --- | --- |
    #foreach($key in $keys)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 13:39:33 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/feature/Features.java

            return doGet(userProperties != null ? userProperties.get(key) : null, def);
        }
    
        private static boolean doGet(Object val, boolean def) {
            if (val instanceof Boolean) {
                return (Boolean) val;
            } else if (val != null) {
                return Boolean.parseBoolean(val.toString());
            } else {
                return def;
            }
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Sep 11 16:31:06 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. build-logic-commons/publishing/src/main/kotlin/gradlebuild.publish-defaults.gradle.kts

    plugins {
        id("publishing")
    }
    
    val artifactoryUrl
        get() = System.getenv("GRADLE_INTERNAL_REPO_URL") ?: ""
    
    val artifactoryUserName
        get() = project.providers.gradleProperty("artifactoryUserName").orNull
    
    val artifactoryUserPassword
        get() = project.providers.gradleProperty("artifactoryUserPassword").orNull
    
    tasks.withType<AbstractPublishToMaven>().configureEach {
        val noUpload = project.gradleProperty("noUpload")
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Sep 25 08:20:22 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  4. mockwebserver-junit5/README.md

    ```
    class MyTest(
      private val server: MockWebServer
    ) {
      @Test
      fun test() {
        ...
      }
    }
    ```
    
    Multiple instances can be obtained by naming additional ones:
    
    ```
    class MyTest(
      private val server: MockWebServer,
      @MockWebServerInstance("server2") private val server2: MockWebServer,
      @MockWebServerInstance("server3") private val server3: MockWebServer
    ) {
      @Test
      fun test() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  5. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/Story.kt

     * reflectively with Moshi to parse stories from files.
     */
    data class Story(
      val description: String? = null,
      val cases: List<Case>,
      val fileName: String? = null,
    ) {
      // Used as the test name.
      override fun toString() = fileName ?: "?"
    
      companion object {
        @JvmField
        val MISSING = Story(description = "Missing", cases = listOf(), "missing")
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  6. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateAgpVersions.kt

                updateCompatibilityDoc(fetchedVersions.latests)
            }
    
        private
        data class FetchedVersions(val latests: List<String>, val nightlyBuildId: String, val nightlyVersion: String)
    
        private
        fun fetchLatestAgpVersions(): FetchedVersions {
            val dbf = DocumentBuilderFactory.newInstance()
            val latests = dbf.fetchLatests(
                minimumSupportedMinor.get(),
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 02 09:17:07 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/platform/android/AndroidLog.kt

      }
    }
    
    @SuppressSignatureCheck
    object AndroidLog {
      private const val MAX_LOG_LENGTH = 4000
    
      // Keep references to loggers to prevent their configuration from being GC'd.
      private val configuredLoggers = CopyOnWriteArraySet<Logger>()
    
      private val knownLoggers =
        LinkedHashMap<String, String>().apply {
          val packageName = OkHttpClient::class.java.`package`?.name
    
          if (packageName != null) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/FormBody.kt

    ) : RequestBody() {
      private val encodedNames: List<String> = encodedNames.toImmutableList()
      private val encodedValues: List<String> = encodedValues.toImmutableList()
    
      /** The number of key-value pairs in this form-encoded body. */
      @get:JvmName("size")
      val size: Int
        get() = encodedNames.size
    
      @JvmName("-deprecated_size")
      @Deprecated(
        message = "moved to val",
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. build-logic/dependency-modules/src/main/kotlin/gradlebuild.dependency-modules.gradle.kts

            resolutionStrategy.capabilitiesResolution.all {
                selectHighestVersion()
            }
        }
    }
    
    fun readCapabilitiesFromJson() {
        val capabilitiesFile = repoRoot().file("gradle/dependency-management/capabilities.json").asFile
        val capabilities: List<CapabilitySpec> = readCapabilities(capabilitiesFile)
        capabilities.forEach {
            it.configure(dependencies.components, configurations)
        }
    }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Jun 05 20:15:18 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  10. mockwebserver/src/main/kotlin/mockwebserver3/PushPromise.kt

    package mockwebserver3
    
    import okhttp3.ExperimentalOkHttpApi
    import okhttp3.Headers
    
    /** An HTTP request initiated by the server. */
    @ExperimentalOkHttpApi
    class PushPromise(
      val method: String,
      val path: String,
      val headers: Headers,
      val response: MockResponse,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 874 bytes
    - Viewed (0)
Back to top