Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 461 - 470 of 798 for eval (0.03 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/io/FaultyFileSystem.kt

    import okio.Path
    import okio.Sink
    
    class FaultyFileSystem constructor(
      delegate: FileSystem?,
    ) : ForwardingFileSystem(delegate!!) {
      private val writeFaults: MutableSet<Path> = LinkedHashSet()
      private val deleteFaults: MutableSet<Path> = LinkedHashSet()
      private val renameFaults: MutableSet<Path> = LinkedHashSet()
    
      fun setFaultyWrite(
        file: Path,
        faulty: Boolean,
      ) {
        if (faulty) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  2. docs/fr/docs/tutorial/path-params-numeric-validations.md

    {* ../../docs_src/path_params_numeric_validations/tutorial003_an_py310.py hl[10] *}
    
    ## Validations numériques : supérieur ou égal { #number-validations-greater-than-or-equal }
    
    Avec `Query` et `Path` (et d'autres que vous verrez plus tard) vous pouvez déclarer des contraintes numériques.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  3. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/AbstractVersionsUpdateTask.kt

        @get:Internal
        abstract val comment: Property<String>
    
        @get:Internal
        abstract val propertiesFile: RegularFileProperty
    
        protected
        fun updateCompatibilityDoc(
            compatibilityDocFile: RegularFileProperty,
            linePrefix: String,
            firstVersion: String,
            latestVersion: String,
        ) {
            val docFile = compatibilityDocFile.get().asFile
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Oct 24 09:10:28 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  4. .teamcity/src/main/kotlin/configurations/LightweightChecks.kt

            init = {
                id("${model.projectId}_LightweightChecks")
                name = "Lightweight Checks"
                description = "Lightweight checks that don't depend on other builds"
    
                val os = os
                val defaultJavaBinary = "${javaHome(BuildToolBuildJvm, os)}/bin/java"
    
                applyDefaultSettings(artifactRuleOverride = "")
    
                params {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jan 23 03:29:32 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  5. build-logic-settings/version-catalogs/src/main/kotlin/gradlebuild.version-catalogs.settings.gradle.kts

     * limitations under the License.
     */
    
    dependencyResolutionManagement {
        val root = if (rootProject.name.startsWith("build-logic")) {
            layout.rootDirectory.dir("..")
        } else {
            layout.rootDirectory
        }
        val basePath = root.dir("gradle").dir("dependency-management")
        versionCatalogs {
            create("libs") {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jan 30 09:06:26 GMT 2026
    - 1.6K bytes
    - Click Count (0)
  6. mockwebserver-junit4/src/test/java/mockwebserver3/junit4/MockWebServerRuleTest.kt

    import org.junit.Test
    import org.junit.runner.Description
    import org.junit.runners.model.Statement
    
    class MockWebServerRuleTest {
      @Test fun statementStartsAndStops() {
        val rule = MockWebServerRule()
        val called = AtomicBoolean()
        val statement: Statement =
          rule.apply(
            object : Statement() {
              override fun evaluate() {
                called.set(true)
                rule.server
                  .url("/")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  7. cmd/data-scanner-metric.go

    	if m >= scannerMetricLast {
    		return 0
    	}
    	val := atomic.LoadUint64(&p.operations[m])
    	return val
    }
    
    // lastMinute returns the last minute statistics of a metric.
    // m should be < scannerMetricLastRealtime
    func (p *scannerMetrics) lastMinute(m scannerMetric) AccElem {
    	if m >= scannerMetricLastRealtime {
    		return AccElem{}
    	}
    	val := p.latency[m].total()
    	return val
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Oct 01 06:06:01 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb1/smb1/SmbComReadAndXResponseTest.java

            assertTrue(result.contains("dataOffset=54"));
        }
    
        // Helper method to write a 2-byte integer to a byte array
        private void writeInt2(int val, byte[] dst, int dstIndex) {
            dst[dstIndex] = (byte) val;
            dst[dstIndex + 1] = (byte) (val >> 8);
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  9. okhttp/src/androidMain/kotlin/okhttp3/internal/publicsuffix/AssetPublicSuffixList.kt

    import java.io.IOException
    import okhttp3.internal.platform.PlatformRegistry
    import okio.Source
    import okio.source
    
    internal class AssetPublicSuffixList(
      override val path: String = PUBLIC_SUFFIX_RESOURCE,
    ) : BasePublicSuffixList() {
      override fun listSource(): Source {
        val assets = PlatformRegistry.applicationContext?.assets
    
        if (assets == null) {
          if (Build.FINGERPRINT == null) {
            throw IOException(
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jul 28 07:33:49 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  10. .teamcity/src/main/kotlin/projects/PerformanceTestProject.kt

    import model.PerformanceTestCoverage
    import model.PerformanceTestProjectSpec
    import model.Stage
    
    abstract class PerformanceTestProject(
        model: CIBuildModel,
        val spec: PerformanceTestProjectSpec,
        val performanceTests: List<PerformanceTest>,
    ) : Project({
            this.id(spec.asConfigurationId(model))
            this.name = spec.asName()
        }) {
        init {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Feb 12 09:12:03 GMT 2025
    - 1.2K bytes
    - Click Count (0)
Back to Top