Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 369 for defs (0.04 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/lostcancel/lostcancel.go

    				// If the cancel variable is defined outside function scope,
    				// do not analyze it.
    				if funcScope.Contains(v.Pos()) {
    					cancelvars[v] = stmt
    				}
    			} else if v, ok := pass.TypesInfo.Defs[id].(*types.Var); ok {
    				cancelvars[v] = stmt
    			}
    		}
    		return true
    	})
    
    	if len(cancelvars) == 0 {
    		return // no need to inspect CFG
    	}
    
    	// Obtain the CFG.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 9K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/BUILD

    package_group(
        name = "friends",
        includes = [
            "//tensorflow/compiler/tf2xla:friends",
        ],
    )
    
    # defs.cc/h only contains string constants, and can be included in mobile
    # builds.
    filegroup(
        name = "mobile_srcs_no_runtime",
        srcs = [
            "defs.cc",
            "defs.h",
        ],
        visibility = [":friends"],
    )
    
    # Target that bundles up the XLA CPU and GPU JIT devices.
    cc_library(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 00:41:19 UTC 2024
    - 61.5K bytes
    - Viewed (0)
  3. fastapi/openapi/models.py

        ref: Optional[str] = Field(default=None, alias="$ref")
        dynamicRef: Optional[str] = Field(default=None, alias="$dynamicRef")
        defs: Optional[Dict[str, "SchemaOrBool"]] = Field(default=None, alias="$defs")
        comment: Optional[str] = Field(default=None, alias="$comment")
        # Ref: JSON Schema 2020-12: https://json-schema.org/draft/2020-12/json-schema-core.html#name-a-vocabulary-for-applying-s
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 22:49:33 UTC 2024
    - 15K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/api_test.go

    			}
    			ident := idents[test.name][0]
    			def := info.Defs[ident]
    			if def == test.obj {
    				t.Fatalf("info.Defs[%s] contains the test object", test.name)
    			}
    			if orig := originObject(test.obj); def != orig {
    				t.Errorf("info.Defs[%s] does not match obj.Origin()", test.name)
    			}
    			if def.Pkg() != test.obj.Pkg() {
    				t.Errorf("Pkg() = %v, want %v", def.Pkg(), test.obj.Pkg())
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/xla_gpu_device.cc

    #include <array>
    #include <set>
    
    #include "absl/memory/memory.h"
    #include "absl/strings/numbers.h"
    #include "absl/strings/str_split.h"
    #include "tensorflow/compiler/jit/defs.h"
    #include "tensorflow/compiler/jit/flags.h"
    #include "tensorflow/compiler/jit/kernels/xla_ops.h"
    #include "tensorflow/compiler/jit/xla_device.h"
    #include "tensorflow/compiler/jit/xla_device_ops.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. tensorflow/cc/experimental/libexport/load.h

      // names to their corresponding nodes at load time in order to look them up
      // in constant time.
      tensorflow::StatusOr<const tensorflow::NodeDef*> GetGraphDefNode(
          std::string name);
    
      // Returns a list of function defs in the SavedModel.
      const protobuf::RepeatedPtrField<FunctionDef>& GetFunctionDefs();
    
      // Returns a BundleReader for reading variable values.
      //
      // This TFPackage retains ownership of the underlying reader.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 13 06:33:42 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  7. src/go/types/api_test.go

    			}
    			ident := idents[test.name][0]
    			def := info.Defs[ident]
    			if def == test.obj {
    				t.Fatalf("info.Defs[%s] contains the test object", test.name)
    			}
    			if orig := originObject(test.obj); def != orig {
    				t.Errorf("info.Defs[%s] does not match obj.Origin()", test.name)
    			}
    			if def.Pkg() != test.obj.Pkg() {
    				t.Errorf("Pkg() = %v, want %v", def.Pkg(), test.obj.Pkg())
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/cluster_scoping_pass.cc

    #include "tensorflow/compiler/jit/cluster_scoping_pass.h"
    
    #include "absl/algorithm/container.h"
    #include "absl/container/flat_hash_set.h"
    #include "absl/strings/str_cat.h"
    #include "tensorflow/compiler/jit/defs.h"
    #include "tensorflow/compiler/jit/xla_cluster_util.h"
    #include "tensorflow/core/framework/node_def_util.h"
    #include "tensorflow/core/graph/algorithm.h"
    
    namespace tensorflow {
    namespace {
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. src/go/ast/scope.go

    // flag to disable syntactic object resolution (which also saves CPU
    // and memory), and instead use the type checker [go/types] if object
    // resolution is desired. See the Defs, Uses, and Implicits fields of
    // the [types.Info] struct for details.
    type Object struct {
    	Kind ObjKind
    	Name string // declared name
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 28 21:32:41 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/rangefunc/rewrite.go

    	n := syntax.NewName(pos, name)
    	tv := syntax.TypeAndValue{Type: typ}
    	tv.SetIsValue()
    	n.SetTypeInfo(tv)
    	r.info.Defs[n] = obj
    	return obj, n
    }
    
    func (r *rewriter) generateParamName(results []*syntax.Field, i int) {
    	obj, n := r.sig.RenameResult(results, i)
    	r.info.Defs[n] = obj
    }
    
    // declVar declares a variable with a given name type and initializer value.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 41.6K bytes
    - Viewed (0)
Back to top