Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 751 - 760 of 1,222 for rval (0.06 seconds)

  1. mockwebserver-junit4/README.md

    will be shut down automatically after the test runs.
    
    For Kotlin, the `@JvmField` annotation is also necessary:
    
    ```
    @JvmField @Rule val serverRule = MockWebServerRule()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Oct 30 21:39:59 GMT 2025
    - 706 bytes
    - Click Count (0)
  2. build-logic/buildquality/src/main/kotlin/gradlebuild/archtest/PackageCyclesExtension.kt

     * limitations under the License.
     */
    package gradlebuild.archtest
    
    import org.gradle.api.provider.ListProperty
    
    
    abstract class PackageCyclesExtension {
    
        abstract val excludePatterns: ListProperty<String>
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Jul 08 16:07:53 GMT 2022
    - 790 bytes
    - Click Count (0)
  3. cmd/data-usage_test.go

    		t.Errorf("deserialize mismatch length\nwant: %+v\ngot:  %+v", len(want.Cache), len(got.Cache))
    	}
    	for wkey, wval := range want.Cache {
    		gotv := got.Cache[wkey]
    		if !equalAsJSON(gotv, wval) {
    			t.Errorf("deserialize mismatch, key %v\nwant: %#v\ngot:  %#v", wkey, wval, gotv)
    		}
    	}
    }
    
    // equalAsJSON returns whether the values are equal when encoded as JSON.
    func equalAsJSON(a, b any) bool {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 14.7K bytes
    - Click Count (0)
  4. apache-maven/src/assembly/maven/bin/mvn

            ;;
          *)
            ;;
        esac
        shift
      done
    }
    
    handle_args "$@"
    MAVEN_MAIN_CLASS=${MAVEN_MAIN_CLASS:=org.apache.maven.cling.MavenCling}
    
    # Build command string for eval
    cmd="\"$JAVACMD\" \
      $MAVEN_OPTS \
      $MAVEN_DEBUG_OPTS \
      --enable-native-access=ALL-UNNAMED \
      -classpath \"$LAUNCHER_JAR\" \
      \"-Dclassworlds.conf=$CLASSWORLDS_CONF\" \
      \"-Dmaven.home=$MAVEN_HOME\" \
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Dec 10 16:40:06 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  5. okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt

        call: Call,
        networkResponse: Response,
        nextRequest: Request?,
      ) {
        logWithTime("followUpDecision")
      }
    
      private fun logWithTime(message: String) {
        val startNs = startNs
        val timeMs =
          if (startNs == null) {
            // Event occurred before start, for an example an early cancel.
            0L
          } else {
            TimeUnit.NANOSECONDS.toMillis(System.nanoTime() - startNs)
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Oct 07 21:03:04 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ForceConnectRoutePlanner.kt

     */
    package okhttp3.internal.connection
    
    /**
     * A RoutePlanner that will always establish a new connection, ignoring any connection pooling
     */
    class ForceConnectRoutePlanner(
      private val delegate: RealRoutePlanner,
    ) : RoutePlanner by delegate {
      override fun plan(): RoutePlanner.Plan = delegate.planConnect() // not delegate.plan()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 937 bytes
    - Click Count (0)
  7. okhttp/src/jvmMain/kotlin/okhttp3/internal/publicsuffix/PublicSuffixList.jvm.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.publicsuffix
    
    internal actual val PublicSuffixList.Companion.Default: PublicSuffixList
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Dec 31 14:50:53 GMT 2024
    - 749 bytes
    - Click Count (0)
  8. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/kotlindsl/kotlin-dsl-upstream-candidates.kt

     *
     * @see [File.resolve]
     */
    operator fun File.div(child: String): File =
        resolve(child)
    
    
    fun ExecOperations.execAndGetStdout(workingDir: File, ignoreExitValue: Boolean, vararg args: String): String {
        val out = ByteArrayOutputStream()
        exec {
            isIgnoreExitValue = ignoreExitValue
            commandLine(*args)
            standardOutput = out
            this.workingDir = workingDir
        }
        return out.toString().trim()
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon May 19 11:33:57 GMT 2025
    - 965 bytes
    - Click Count (0)
  9. okhttp-zstd/src/main/kotlin/okhttp3/zstd/Zstd.kt

    import okio.BufferedSource
    import okio.Source
    
    /**
     * Support for Zstandard encoding. Use via the [CompressionInterceptor].
     */
    object Zstd : CompressionInterceptor.DecompressionAlgorithm {
      override val encoding: String get() = "zstd"
    
      override fun decompress(compressedSource: BufferedSource): Source = compressedSource.zstdDecompress()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Jul 31 18:34:32 GMT 2025
    - 1K bytes
    - Click Count (0)
  10. build-logic-commons/publishing/src/main/kotlin/gradlebuild/pluginpublish/extension/PluginPublishExtension.kt

     * limitations under the License.
     */
    
    package gradlebuild.pluginpublish.extension
    
    import org.gradle.plugin.devel.GradlePluginDevelopmentExtension
    
    
    abstract class PluginPublishExtension(
        private val gradlePlugin: GradlePluginDevelopmentExtension
    ) {
    
        fun bundledGradlePlugin(name: String, shortDescription: String, pluginId: String, pluginClass: String) {
            gradlePlugin.plugins {
                register(name) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Aug 08 14:54:27 GMT 2024
    - 1.2K bytes
    - Click Count (0)
Back to Top