Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 154 for unwrapping (0.28 sec)

  1. src/errors/errors.go

    // return an error including appropriate context that satisfies
    //
    //	errors.Is(err, errors.ErrUnsupported)
    //
    // either by directly wrapping ErrUnsupported or by implementing an [Is] method.
    //
    // Functions and methods should document the cases in which an error
    // wrapping this will be returned.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 02 19:45:41 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  2. pkg/structured/structured.go

    func NewErr(serr *Error, err error) *Error {
    	// Make a copy so that dictionary entry is not modified.
    	ne := *serr
    	ne.Err = err
    	return &ne
    }
    
    // Unwrap implements error unwrapping for %w verb.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Jul 15 23:58:50 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  3. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/xctest/SwiftXCTestErrorHandlingIntegrationTest.groovy

            } else {
                testFailure.assertStderr(containsText("cannot open shared object file"))
            }
        }
    
        @ToBeFixedForConfigurationCache
        def "fails when force-unwrapping an optional results in an error"() {
            buildWithApplicationAndDependencies()
            addForceUnwrappedOptionalTest()
    
            expect:
            fails(':app:test')
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. android/guava/src/com/google/common/reflect/Invokable.java

       *     control and the underlying method or constructor is inaccessible.
       * @throws IllegalArgumentException if the number of actual and formal parameters differ; if an
       *     unwrapping conversion for primitive arguments fails; or if, after possible unwrapping, a
       *     parameter value cannot be converted to the corresponding formal parameter type by a method
       *     invocation conversion.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 18.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/reflect/Invokable.java

       *     control and the underlying method or constructor is inaccessible.
       * @throws IllegalArgumentException if the number of actual and formal parameters differ; if an
       *     unwrapping conversion for primitive arguments fails; or if, after possible unwrapping, a
       *     parameter value cannot be converted to the corresponding formal parameter type by a method
       *     invocation conversion.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top