Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 661 - 670 of 1,222 for rval (0.03 seconds)

  1. tests/test_request_params/test_path/test_required_str.py

            pytest.param(
                "/required-validation-alias/{p_val_alias}",
                "p_val_alias",
                "P Val Alias",
                id="required-validation-alias",
            ),
            pytest.param(
                "/required-alias-and-validation-alias/{p_val_alias}",
                "p_val_alias",
                "P Val Alias",
                id="required-alias-and-validation-alias",
            ),
        ],
    )
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  2. build-logic/integration-testing/src/main/kotlin/gradlebuild.distribution-testing.gradle.kts

    import gradlebuild.integrationtests.setSystemPropertiesOfTestJVM
    import gradlebuild.integrationtests.tasks.DistributionTest
    
    plugins {
        java
        id("gradlebuild.module-identity")
    }
    
    val intTestHomeDir = repoRoot().dir("intTestHomeDir")
    
    val cachesCleanerService = gradle.sharedServices.registerIfAbsent("cachesCleaner", CachesCleaner::class) {
        parameters.gradleVersion = gradleModule.identity.version.map { it.version }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Aug 18 18:02:41 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  3. src/test/java/jcifs/http/NtlmHttpFilterTest.java

            // Create a minimal filter config that won't try to connect to a real server
            Map<String, String> initParams = new HashMap<>();
            initParams.put("jcifs.smb.client.domain", "TEST_DOMAIN");
            // Don't set domainController to avoid real connection attempts
            initParams.put("jcifs.http.loadBalance", "false");
            initParams.put("jcifs.http.enableBasic", "false");
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  4. okhttp/src/commonTest/kotlin/okhttp3/internal/IsProbablyUtf8Test.kt

      }
    
      @Test fun doesNotConsumeBuffer() {
        val buffer = Buffer()
        buffer.writeUtf8("hello ".repeat(1024))
        assertThat(buffer.isProbablyUtf8(100L)).isTrue()
        assertThat(buffer.readUtf8()).isEqualTo("hello ".repeat(1024))
      }
    
      /** Confirm [isProbablyUtf8] doesn't attempt to read the entire stream. */
      @Test fun doesNotReadEntireSource() {
        val unlimitedSource =
          object : Source {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Oct 06 22:47:06 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  5. android-test/src/androidTest/java/okhttp/android/test/StrictModeTest.kt

    import org.junit.jupiter.api.AfterEach
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.parallel.Isolated
    
    @Isolated
    @SdkSuppress(minSdkVersion = 28)
    class StrictModeTest {
      private val violations = mutableListOf<Violation>()
    
      @AfterEach
      fun cleanup() {
        StrictMode.setThreadPolicy(
          ThreadPolicy
            .Builder()
            .permitAll()
            .build(),
        )
      }
    
      @Test
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Nov 21 12:33:41 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/witness/MockWitnessService.java

         *
         * @param eventType the event type
         * @param resourceName the resource name
         */
        public void sendNotification(WitnessEventType eventType, String resourceName) {
            // In a real implementation, this would send notifications to registered clients
            // For the mock, we just log it
            log.info("Mock sending notification: {} for resource: {}", eventType, resourceName);
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  7. logger/sql_test.go

    		myrole             = role("admin")
    		pwd                = password("pass")
    		jsVal              = []byte(`{"Name":"test","Val":"test"}`)
    		js                 = JSON(jsVal)
    		esVal              = []byte(`{"Name":"test","Val":"test"}`)
    		es                 = ExampleStruct{Name: "test", Val: "test"}
    		intVal   intType   = 1
    		floatVal floatType = 1.23
    	)
    
    	results := []struct {
    		SQL           string
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Thu Mar 21 08:00:02 GMT 2024
    - 8.4K bytes
    - Click Count (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt

       */
      @Throws(IOException::class)
      fun sha256(): ByteString {
        val hashingSink = HashingSink.sha256(blackholeSink())
        hashingSink.buffer().use {
          this.writeTo(it)
        }
        return hashingSink.hash
      }
    
      companion object {
        /** Empty request body with no content-type. */
        @JvmField
        val EMPTY: RequestBody = ByteString.EMPTY.toRequestBody()
    
        /**
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Oct 07 14:16:29 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  9. scan.go

    								}
    								relFields = append(relFields, field)
    								joinFields[idx] = relFields
    								continue
    							}
    						}
    						var val interface{}
    						values[idx] = &val
    					} else {
    						var val interface{}
    						values[idx] = &val
    					}
    				}
    			}
    		}
    
    		switch reflectValue.Kind() {
    		case reflect.Slice, reflect.Array:
    			var (
    				elem        reflect.Value
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun May 25 07:40:40 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/Lockable.kt

    internal inline fun Lockable.notify() = (this as Object).notify()
    
    internal inline fun Lockable.notifyAll() = (this as Object).notifyAll()
    
    internal inline fun Lockable.awaitNanos(nanos: Long) {
      val ms = nanos / 1_000_000L
      val ns = nanos - (ms * 1_000_000L)
      if (ms > 0L || nanos > 0) {
        (this as Object).wait(ms, ns.toInt())
      }
    }
    
    internal inline fun Lockable.assertLockNotHeld() {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed May 28 23:28:25 GMT 2025
    - 2.1K bytes
    - Click Count (0)
Back to Top