Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 2,135 for runActions (0.18 sec)

  1. test/typeparam/dictionaryCapture-noinline.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test situations where functions/methods are not
    // immediately called and we need to capture the dictionary
    // required for later invocation.
    
    package main
    
    func main() {
    	functions()
    	methodExpressions()
    	methodValues()
    	interfaceMethods()
    	globals()
    }
    
    func g0[T any](x T) {
    }
    func g1[T any](x T) T {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  2. pkg/test/failer.go

    	failed  error
    	cleanup func()
    }
    
    // Wrap executes a function with a fake Failer, and returns an error if the test failed. This allows
    // calling functions that take a Failer and using them with functions that expect an error, or
    // allowing calling functions that would cause a test to immediately fail to instead return an error.
    // Wrap handles Cleanup() and short-circuiting of Fatal() just like the real testing.T.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Jul 15 23:58:50 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/dependencies/index.md

    As dependencies will also be called by **FastAPI** (the same as your *path operation functions*), the same rules apply while defining your functions.
    
    You can use `async def` or normal `def`.
    
    And you can declare dependencies with `async def` inside of normal `def` *path operation functions*, or `def` dependencies inside of `async def` *path operation functions*, etc.
    
    It doesn't matter. **FastAPI** will know what to do.
    
    !!! note
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/apis/kubeadm/v1beta4/register.go

    var (
    	// SchemeBuilder points to a list of functions added to Scheme.
    	SchemeBuilder      runtime.SchemeBuilder
    	localSchemeBuilder = &SchemeBuilder
    	// AddToScheme applies all the stored functions to the scheme.
    	AddToScheme = localSchemeBuilder.AddToScheme
    )
    
    func init() {
    	// We only register manually written functions here. The registration of the
    	// generated functions takes place in the generated files. The separation
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 05:14:21 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/apis/output/v1alpha3/register.go

    var (
    	// SchemeBuilder points to a list of functions added to Scheme.
    	SchemeBuilder      runtime.SchemeBuilder
    	localSchemeBuilder = &SchemeBuilder
    	// AddToScheme applies all the stored functions to the scheme.
    	AddToScheme = localSchemeBuilder.AddToScheme
    )
    
    func init() {
    	// We only register manually written functions here. The registration of the
    	// generated functions takes place in the generated files. The separation
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 20 17:11:55 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/ctrlflow/ctrlflow.go

    // A CFGs holds the control-flow graphs
    // for all the functions of the current package.
    type CFGs struct {
    	defs      map[*ast.Ident]types.Object // from Pass.TypesInfo.Defs
    	funcDecls map[*types.Func]*declInfo
    	funcLits  map[*ast.FuncLit]*litInfo
    	pass      *analysis.Pass // transient; nil after construction
    }
    
    // CFGs has two maps: funcDecls for named functions and funcLits for
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:01 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  7. src/cmd/go/internal/robustio/robustio.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Package robustio wraps I/O functions that are prone to failure on Windows,
    // transparently retrying errors up to an arbitrary timeout.
    //
    // Errors are classified heuristically and retries are bounded, so the functions
    // in this package do not completely eliminate spurious errors. However, they do
    // significantly reduce the rate of failure in practice.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/tests/mark_functions_noinline.mlir

    // RUN: tf-quant-opt %s -mark-functions-noinline='noinline-functions=noinline0' \
    // RUN:     -allow-unregistered-dialect -mlir-disable-threading \
    // RUN:     -split-input-file -verify-diagnostics | FileCheck %s
    
    // Tests that the function is marked tf._noinline = true.
    
    // CHECK-LABEL: @noinline0
    // CHECK-SAME: attributes {{{.*tf._noinline = true.*}}}
    func.func @noinline0() -> (tensor<0xf32>) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 12 00:02:46 UTC 2023
    - 841 bytes
    - Viewed (0)
  9. cmd/kubeadm/app/apis/kubeadm/v1beta3/register.go

    var (
    	// SchemeBuilder points to a list of functions added to Scheme.
    	SchemeBuilder      runtime.SchemeBuilder
    	localSchemeBuilder = &SchemeBuilder
    	// AddToScheme applies all the stored functions to the scheme.
    	AddToScheme = localSchemeBuilder.AddToScheme
    )
    
    func init() {
    	// We only register manually written functions here. The registration of the
    	// generated functions takes place in the generated files. The separation
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 03 17:11:43 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/internal/mlir_bridge_pass_util.h

    namespace tensorflow {
    
    // Checks if a graph or reachable functions in the library have any
    // StatefulPartitionedOps with _XlaMustCompile=true. The function library will
    // be skipped if nullptr is provided.
    bool IsSupportedByNonReplicatedBridge(
        const Graph& graph, const FunctionLibraryDefinition* function_library);
    
    // Checks if a graph or reachable functions in the library have any ops with
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 13 16:33:22 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top