Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 171 for unwrapped (0.41 sec)

  1. src/testing/testing_windows.go

    // isWindowsRetryable reports whether err is a Windows error code
    // that may be fixed by retrying a failed filesystem operation.
    func isWindowsRetryable(err error) bool {
    	for {
    		unwrapped := errors.Unwrap(err)
    		if unwrapped == nil {
    			break
    		}
    		err = unwrapped
    	}
    	if err == syscall.ERROR_ACCESS_DENIED {
    		return true // Observed in https://go.dev/issue/50051.
    	}
    	if err == windows.ERROR_SHARING_VIOLATION {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/base/Kt1DescUtils.kt

            is ConstructorDescriptor -> unwrapped.toKtConstructorSymbol(analysisContext)
            is FunctionDescriptor -> {
                if (DescriptorUtils.isAnonymousFunction(unwrapped)) {
                    KaFe10DescAnonymousFunctionSymbol(unwrapped, analysisContext)
                } else {
                    KaFe10DescFunctionSymbol.build(unwrapped, analysisContext)
                }
            }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionTypeProvider.kt

    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 24.4K bytes
    - Viewed (0)
  4. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ExpressionTypeProvider.kt

            val unwrapped = expression.unwrapParenthesesLabelsAndAnnotations() as? KtExpression ?: return null
            if (unwrapped.getParentOfTypes(false, *NON_EXPRESSION_CONTAINERS) != null) {
                return null
            }
    
            val bindingContext = analysisContext.analyze(unwrapped, AnalysisMode.PARTIAL)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  5. doc/next/6-stdlib/99-minor/testing/fstest/63675.md

    [TestFS] now returns a structured error that can be unwrapped
    (via method `Unwrap() []error`). This allows inspecting errors
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 20:57:18 UTC 2024
    - 159 bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/KtSymbolByFirBuilder.kt

                val originalFirSymbol = firSymbol.fir.originalConstructorIfTypeAlias?.symbol ?: firSymbol
                val unwrapped = originalFirSymbol.originalIfFakeOverride() ?: originalFirSymbol
                return symbolsCache.cache(unwrapped) {
                    KaFirConstructorSymbol(unwrapped, analysisSession)
                }
            }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:43 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  7. platforms/core-runtime/stdlib-java-extensions/src/main/java/org/gradle/internal/UncheckedException.java

         *
         * Note: always throws the failure in some form. The return value is to keep the compiler happy.
         *
         * @param e to be unwrapped
         * @return an instance of RuntimeException based on the target exception of the parameter.
         */
        public static RuntimeException unwrapAndRethrow(InvocationTargetException e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  8. src/net/resolverdialfunc_test.go

    			}
    		}
    		return a, nil
    	}
    }
    
    type resolverDialHandler struct {
    	// StartDial, if non-nil, is called when Go first calls Resolver.Dial.
    	// Any error returned aborts the dial and is returned unwrapped.
    	StartDial func(network, address string) error
    
    	Question func(dnsmessage.Header, dnsmessage.Question)
    
    	// err may be ErrNotExist or ErrRefused; others map to SERVFAIL (RCode2).
    	// A nil error means success.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  9. tensorflow/cc/experimental/libtf/value.h

          type_ = NONE;
        }
      }
      ~TaggedValue() { destroy(); }
    
      /// @brief Get the underlying value based on type.
      ///
      /// @tparam T The desired return type.
      /// @return The unwrapped value. If this `TaggedValue` type does not currently
      ///         contain a value of type `T`, the program terminates via a call to
      ///         `assert`.
      template <typename T>
      T& get() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:23:45 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  10. src/runtime/sema.go

    	// be read outside the lock, but is only written to with lock held.
    	//
    	// Both wait & notify can wrap around, and such cases will be correctly
    	// handled as long as their "unwrapped" difference is bounded by 2^31.
    	// For this not to be the case, we'd need to have 2^31+ goroutines
    	// blocked on the same condvar, which is currently not possible.
    	notify uint32
    
    	// List of parked waiters.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 19K bytes
    - Viewed (0)
Back to top