Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 89 for unwrapping (0.15 sec)

  1. docs/en/docs/tutorial/extra-models.md

    print(user_dict)
    ```
    
    we would get a Python `dict` with:
    
    ```Python
    {
        'username': 'john',
        'password': 'secret',
        'email': '******@****.***',
        'full_name': None,
    }
    ```
    
    #### Unwrapping a `dict`
    
    If we take a `dict` like `user_dict` and pass it to a function (or class) with `**user_dict`, Python will "unwrap" it. It will pass the keys and values of the `user_dict` directly as key-value arguments.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCompletionCandidateChecker.kt

         * is (FirCheckedSafeCallSubject)[org.jetbrains.kotlin.fir.expressions.FirCheckedSafeCallSubject] which requires additional unwrapping
         * to be used for call resolution.
         */
        private fun findReceiverFirExpression(receiverExpression: KtExpression): FirExpression? {
            if (receiverExpression is KtStatementExpression) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/CrossProjectConfigurationReportingTaskExecutionGraph.kt

        private val problemFactory: ProblemFactory
    ) : TaskExecutionGraphInternal {
    
        private
        val delegate: TaskExecutionGraphInternal = when (taskGraph) {
            // 'unwrapping' ensures that there are no chains of delegation
            is CrossProjectConfigurationReportingTaskExecutionGraph -> taskGraph.delegate
            else -> taskGraph
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/CrossProjectConfigurationReportingGradle.kt

        private val projectConfigurator: CrossProjectConfigurator
    ) : GradleInternal {
    
        private
        val delegate: GradleInternal = when (gradle) {
            // 'unwrapping' ensures that there are no chains of delegation
            is CrossProjectConfigurationReportingGradle -> gradle.delegate
            else -> gradle
        }
    
        override fun getParent(): GradleInternal? =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/passes/passes.h

    // emit illegal IR with unsupported quantized input and output types. The
    // pass following immediately after this one will be responsible for legalizing
    // input and output types by unwrapping quantization parameters.
    std::unique_ptr<OperationPass<func::FuncOp>> CreateQuantizePass();
    
    // Overloading of CreateQuantizePass which takes QuantizationSpecs.
    std::unique_ptr<OperationPass<func::FuncOp>> CreateQuantizePass(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  6. src/crypto/x509/parser.go

    func parseCertificate(der []byte) (*Certificate, error) {
    	cert := &Certificate{}
    
    	input := cryptobyte.String(der)
    	// we read the SEQUENCE including length and tag bytes so that
    	// we can populate Certificate.Raw, before unwrapping the
    	// SEQUENCE so it can be operated on
    	if !input.ReadASN1Element(&input, cryptobyte_asn1.SEQUENCE) {
    		return nil, errors.New("x509: malformed certificate")
    	}
    	cert.Raw = input
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:00:16 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  7. src/encoding/json/decode.go

    	}
    	return f, nil
    }
    
    var numberType = reflect.TypeFor[Number]()
    
    // literalStore decodes a literal stored in item into v.
    //
    // fromQuoted indicates whether this literal came from unwrapping a
    // string from the ",string" struct tag option. this is used only to
    // produce more helpful error messages.
    func (d *decodeState) literalStore(item []byte, v reflect.Value, fromQuoted bool) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

      // ExtractControlEdges.
      std::optional<BufferOffset<tflite::SubGraph>> BuildSubGraph(
          const std::string& name, Region* region, int index);
    
      // Modifies *block by unwrapping all ControlNodeOps. The DAG of the control
      // dependencies is returned as a vector of its edges, with node indices into
      // *block.
      std::vector<std::pair<int, int>> ExtractControlEdges(mlir::Block* block);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/server/config_test.go

    `, t)
    	checkPath(server.URL+"/healthz/wrapping-health", http.StatusInternalServerError, `internal server error: wrapping failed healthcheck
    `, t)
    	checkPath(server.URL+"/healthz/poststarthook/delegate-post-start-hook", http.StatusOK, `ok`, t)
    	checkPath(server.URL+"/healthz/poststarthook/wrapping-post-start-hook", http.StatusOK, `ok`, t)
    	checkPath(server.URL+"/foo", http.StatusForbidden, ``, t)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/UncheckedExecutionException.java

     * ExecutionException} when the exception thrown by a task is an unchecked exception. However, it
     * may also wrap a checked exception in some cases.
     *
     * <p>When wrapping an {@code Error} from another thread, prefer {@link ExecutionError}. When
     * wrapping a checked exception, prefer {@code ExecutionException}.
     *
     * @author Charles Fry
     * @since 10.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Mar 07 17:52:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top