Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for memgraph (0.19 sec)

  1. plugin/pkg/auth/authorizer/node/graph_test.go

    			toType:      nodeVertexType,
    			toNamespace: "",
    			toName:      "node1",
    			start: func() *Graph {
    				g := NewGraph()
    				g.getOrCreateVertex_locked(nodeVertexType, "", "node1")
    				g.getOrCreateVertex_locked(configMapVertexType, "namespace1", "configmap1")
    				return g
    			}(),
    			expect: func() *Graph {
    				g := NewGraph()
    				g.getOrCreateVertex_locked(nodeVertexType, "", "node1")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 23 23:14:19 UTC 2022
    - 12.3K bytes
    - Viewed (0)
  2. tensorflow/cc/saved_model/fingerprinting.cc

      // Create a copy of `metagraph` which will be used and mutated for fingerprint
      // computation.
      FingerprintDef fingerprint_def;
      MetaGraphDef* metagraph = saved_model.mutable_meta_graphs(0);
      // Set fingerprint field #1.
      fingerprint_def.set_saved_model_checksum(HashSavedModel(saved_model));
      // Set fingerprint field #2.
      graph_regularization::SimpleDelete(*metagraph->mutable_graph_def());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 26 00:24:44 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/saved_model/core/saved_model_utils.cc

      // "Value" attribute.
      NodeAttrMap node_attr_map = NodeToAttrMap(metagraph.graph_def());
    
      // These are needed for creating "Assets", by looking up their filenames.
      std::vector<AssetFileDef> assets;
      TF_RETURN_IF_ERROR(GetAssetFileDefs(metagraph, &assets));
    
      // Signatures are needed for determining whether a function is a
      // SignatureDefFunction or not.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 12 19:17:46 UTC 2023
    - 24K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/adapter/ProtocolToModelAdapterTest.groovy

            TestProtocolProject protocolProject = Mock()
            _ * protocolModel1.getProject() >> protocolProject
            _ * protocolModel2.getProject() >> protocolProject
    
            expect:
            def converter = adapter.newGraph()
            def model1 = converter.adapt(TestModel.class, protocolModel1)
            def model2 = converter.adapt(TestModel.class, protocolModel2)
            !model1.is(model2)
            model1.project.is(model2.project)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 21.9K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/internal/build/PlannedNodeGraphTest.groovy

            dependsOn(task3, [task4])
            dependsOn(transform1, [task4])
    
            when:
            collector.collectNodes([task1, task2, task3, task4, transform1])
            def graph = collector.getGraph()
            def nodes = graph.getNodes(PlannedNodeGraph.DetailLevel.LEVEL1_TASKS) as List<TestPlannedNode>
            then:
            nodes.size() == 4
            nodes*.nodeIdentity*.nodeType =~ [NodeType.TASK]
            verifyAll {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 21 13:11:56 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  6. plugin/pkg/auth/authorizer/node/node_authorizer_test.go

    	g := NewGraph()
    	populate(g, nodes, pods, pvs, attachments, slices)
    	// Garbage collect before the first iteration
    	runtime.GC()
    	b.ResetTimer()
    
    	b.SetParallelism(100)
    	b.RunParallel(func(pb *testing.PB) {
    		for pb.Next() {
    			g.AddPod(pods[0])
    		}
    	})
    }
    
    func BenchmarkAuthorization(b *testing.B) {
    	g := NewGraph()
    
    	opts := &sampleDataOpts{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 40.5K bytes
    - Viewed (0)
  7. src/cmd/vendor/github.com/google/pprof/internal/report/report.go

    	}
    
    	if unit != "" {
    		o.OutputUnit = unit
    	} else {
    		o.OutputUnit = o.SampleUnit
    	}
    }
    
    // newGraph creates a new graph for this report. If nodes is non-nil,
    // only nodes whose info matches are included. Otherwise, all nodes
    // are included, without trimming.
    func (rpt *Report) newGraph(nodes graph.NodeSet) *graph.Graph {
    	o := rpt.options
    
    	// Clean up file paths using heuristics.
    	prof := rpt.prof
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  8. src/internal/profile/graph.go

    // divisor is available.
    func (e *Edge) WeightValue() int64 {
    	if e.WeightDiv == 0 {
    		return e.Weight
    	}
    	return e.Weight / e.WeightDiv
    }
    
    // NewGraph computes a graph from a profile.
    func NewGraph(prof *Profile, o *Options) *Graph {
    	nodes, locationMap := CreateNodes(prof, o)
    	seenNode := make(map[*Node]bool)
    	seenEdge := make(map[nodePair]bool)
    	for _, sample := range prof.Sample {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 05 20:59:15 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  9. src/cmd/vendor/github.com/google/pprof/internal/graph/graph.go

    func New(prof *profile.Profile, o *Options) *Graph {
    	if o.CallTree {
    		return newTree(prof, o)
    	}
    	g, _ := newGraph(prof, o)
    	return g
    }
    
    // newGraph computes a graph from a profile. It returns the graph, and
    // a map from the profile location indices to the corresponding graph
    // nodes.
    func newGraph(prof *profile.Profile, o *Options) (*Graph, map[uint64]Nodes) {
    	nodes, locationMap := CreateNodes(prof, o)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 31K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/saved_model/internal/saved_model_api_test.cc

      TFE_DeleteContext(ctx);
    }
    
    // This tests running the "serving_default" SignatureDefFunction from the
    // VarsAndArithmeticObjectGraph savedmodel. Here's what the signature_defs
    // protobuf in the metagraph looks like:
    // signature_def: {
    //   key  : "serving_default"
    //   value: {
    //     inputs: {
    //       key  : "a"
    //       value: {
    //         name : "serving_default_a:0"
    //         dtype: DT_FLOAT
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 23 08:08:45 UTC 2024
    - 21.3K bytes
    - Viewed (0)
Back to top