Search Options

Results per page
Sort
Preferred Languages
Advance

Results 561 - 570 of 969 for rval (0.02 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Gzip.kt

     */
    package okhttp3
    
    import okhttp3.CompressionInterceptor.DecompressionAlgorithm
    import okio.BufferedSource
    import okio.GzipSource
    import okio.Source
    
    object Gzip : DecompressionAlgorithm {
      override val encoding: String get() = "gzip"
    
      override fun decompress(compressedSource: BufferedSource): Source = GzipSource(compressedSource)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 15:15:28 UTC 2025
    - 936 bytes
    - Viewed (0)
  2. cmd/metrics-resource.go

    	if !found {
    		metric = ResourceMetric{
    			Name:   name,
    			Labels: labels,
    		}
    	}
    
    	if isCumulative {
    		metric.Current = val - metric.Cumulative
    		metric.Cumulative = val
    	} else {
    		metric.Current = val
    	}
    
    	if metric.Current > metric.Max {
    		metric.Max = val
    	}
    
    	metric.Sum += metric.Current
    	metric.Count++
    
    	metric.Avg = metric.Sum / float64(metric.Count)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Oct 10 18:57:03 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  3. 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()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 937 bytes
    - Viewed (0)
  4. gradlew

    # character that might be a shell metacharacter, then use eval to reverse
    # that process (while maintaining the separation between arguments), and wrap
    # the whole thing up as a single "set" statement.
    #
    # This will of course break if any of these variables contains a newline or
    # an unmatched quote.
    #
    
    eval "set -- $(
            printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" |
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Sep 18 20:55:41 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  5. tests/test_request_params/test_file/test_optional.py

                "p_val_alias": {
                    "anyOf": [
                        {"type": "string", "format": "binary"},
                        {"type": "null"},
                    ],
                    "title": "P Val Alias",
                }
            },
            "title": body_model_name,
            "type": "object",
        }
    
    
    @pytest.mark.parametrize(
        "path",
        [
            "/optional-bytes-validation-alias",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  6. tests/test_request_params/test_form/test_optional_str.py

        assert app.openapi()["components"]["schemas"][body_model_name] == {
            "properties": {
                "p_val_alias": {
                    "anyOf": [{"type": "string"}, {"type": "null"}],
                    "title": "P Val Alias",
                },
            },
            "title": body_model_name,
            "type": "object",
        }
    
    
    @pytest.mark.parametrize(
        "path",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  7. tests/test_request_params/test_query/test_optional_list.py

                "schema": {
                    "anyOf": [
                        {"items": {"type": "string"}, "type": "array"},
                        {"type": "null"},
                    ],
                    "title": "P Val Alias",
                },
                "name": "p_val_alias",
                "in": "query",
            }
        ]
    
    
    @pytest.mark.parametrize(
        "path",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  8. tests/test_request_params/test_query/test_required_str.py

    )
    def test_required_validation_alias_schema(path: str):
        assert app.openapi()["paths"][path]["get"]["parameters"] == [
            {
                "required": True,
                "schema": {"title": "P Val Alias", "type": "string"},
                "name": "p_val_alias",
                "in": "query",
            }
        ]
    
    
    @pytest.mark.parametrize(
        "path",
        [
            "/required-validation-alias",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  9. internal/s3select/simdj/record.go

    		}
    		var columnValue string
    		switch typ {
    		case simdjson.TypeNull, simdjson.TypeFloat, simdjson.TypeUint, simdjson.TypeInt, simdjson.TypeBool, simdjson.TypeString:
    			val, err := tmp.StringCvt()
    			if err != nil {
    				return err
    			}
    			columnValue = val
    		case simdjson.TypeObject, simdjson.TypeArray:
    			b, err := tmp.MarshalJSON()
    			if err != nil {
    				return err
    			}
    			columnValue = string(b)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionPool.kt

     * Currently this pool holds up to 5 idle connections which will be evicted after 5 minutes of
     * inactivity.
     */
    class ConnectionPool internal constructor(
      internal val delegate: RealConnectionPool,
    ) {
      internal constructor(
        maxIdleConnections: Int = 5,
        keepAliveDuration: Long = 5,
        timeUnit: TimeUnit = TimeUnit.MINUTES,
        taskRunner: TaskRunner = TaskRunner.INSTANCE,
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 21:55:03 UTC 2025
    - 3.4K bytes
    - Viewed (0)
Back to top