Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 21 for node_size (0.18 sec)

  1. src/go/printer/nodes.go

    	c.size += len(p)
    	return len(p), nil
    }
    
    // nodeSize determines the size of n in chars after formatting.
    // The result is <= maxSize if the node fits on one line with at
    // most maxSize chars and the formatted output doesn't contain
    // any control chars. Otherwise, the result is > maxSize.
    func (p *printer) nodeSize(n ast.Node, maxSize int) (size int) {
    	// nodeSize invokes the printer, which may invoke nodeSize
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 18:53:17 UTC 2023
    - 52.6K bytes
    - Viewed (0)
  2. src/cmd/internal/codesign/codesign.go

    	nhashes := (codeSize + pageSize - 1) / pageSize
    	idOff := int64(codeDirectorySize)
    	hashOff := idOff + int64(len(id)+1)
    	sz := Size(codeSize, id)
    
    	// emit blob headers
    	sb := SuperBlob{
    		magic:  CSMAGIC_EMBEDDED_SIGNATURE,
    		length: uint32(sz),
    		count:  1,
    	}
    	blob := Blob{
    		typ:    CSSLOT_CODEDIRECTORY,
    		offset: superBlobSize + blobSize,
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 29 14:23:19 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  3. tensorflow/cc/saved_model/bundle_v2_test.cc

      SavedModelV2Bundle bundle;
      TF_ASSERT_OK(SavedModelV2Bundle::Load(export_dir, &bundle));
    
      // Ensure that there are nodes in the trackable_object_graph.
      EXPECT_GT(bundle.trackable_object_graph().nodes_size(), 0);
    
      RestoreVarsAndVerify(&bundle, {"variable_x", "variable_y", "child_variable"});
    }
    
    TEST_F(BundleV2Test, LoadsCyclicModule) {
      const std::string export_dir =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 12 17:51:15 UTC 2023
    - 6K bytes
    - Viewed (0)
  4. src/go/printer/printer.go

    		}
    	},
    }
    
    func newPrinter(cfg *Config, fset *token.FileSet, nodeSizes map[ast.Node]int) *printer {
    	p := printerPool.Get().(*printer)
    	*p = printer{
    		Config:    *cfg,
    		fset:      fset,
    		pos:       token.Position{Line: 1, Column: 1},
    		out:       token.Position{Line: 1, Column: 1},
    		wsbuf:     p.wsbuf[:0],
    		nodeSizes: nodeSizes,
    		cachedPos: -1,
    		output:    p.output[:0],
    	}
    	return p
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 41.6K bytes
    - Viewed (0)
  5. pkg/controller/nodelifecycle/metrics.go

    	"k8s.io/component-base/metrics"
    	"k8s.io/component-base/metrics/legacyregistry"
    )
    
    const (
    	nodeControllerSubsystem = "node_collector"
    	zoneHealthStatisticKey  = "zone_health"
    	zoneSizeKey             = "zone_size"
    	zoneNoUnhealthyNodesKey = "unhealthy_nodes_in_zone"
    	evictionsTotalKey       = "evictions_total"
    
    	updateNodeHealthKey     = "update_node_health_duration_seconds"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 13 21:55:34 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/saved_model/core/saved_model_utils.cc

      // we partially initialize "builders" that correspond to their currently known
      // state, and gradually fill them out in subsequent passes.
      for (int i = 0; i < metagraph.object_graph_def().nodes_size(); ++i) {
        const SavedObject& node = metagraph.object_graph_def().nodes(i);
        if (node.kind_case() == SavedObject::kVariable) {
          std::unique_ptr<Variable> variable;
          TF_RETURN_IF_ERROR(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 12 19:17:46 UTC 2023
    - 24K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/macho.go

    // (as it depends on the rest of the file).
    func machoCodeSigSym(ctxt *Link, codeSize int64) loader.Sym {
    	ldr := ctxt.loader
    	cs := ldr.CreateSymForUpdate(".machocodesig", 0)
    	if !ctxt.NeedCodeSign() || ctxt.IsExternal() {
    		return cs.Sym()
    	}
    	sz := codesign.Size(codeSize, "a.out")
    	cs.Grow(sz)
    	cs.SetSize(sz)
    	return cs.Sym()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 43.9K bytes
    - Viewed (0)
  8. src/cmd/link/internal/ppc64/asm.go

    	// At entry, r12 holds the address of the symbol resolver stub
    	// for the target routine and the argument registers hold the
    	// arguments for the target routine.
    	//
    	// PC-rel offsets are computed once the final codesize of the
    	// resolver is known.
    	//
    	// This stub is PIC, so first get the PC of label 1 into r11.
    	glink.AddUint32(ctxt.Arch, OP_MFLR_R0) // mflr r0
    	glink.AddUint32(ctxt.Arch, OP_BCL_NIA) // bcl 20,31,1f
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 20:54:08 UTC 2024
    - 63.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

    }
    
    Status DiagnoseMultipleConcreteFunctions(const SavedObjectGraph& object_graph,
                                             const ObjectNames& object_names) {
      for (int node_id = 0; node_id < object_graph.nodes_size(); node_id++) {
        const SavedObject& object = object_graph.nodes(node_id);
        if (object_names.GetExportedNames(node_id).empty()) {
          continue;
        }
        if (object.kind_case() == SavedObject::kFunction) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
  10. src/internal/trace/traceviewer/static/trace_viewer_full.html

    this.target_.style[this.targetStyleKey_]='';},get targetStyleKey_(){return this.horizontal_?'height':'width';},getTargetSize_(){const size=parseInt(window.getComputedStyle(this.targ...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:45:06 UTC 2023
    - 2.5M bytes
    - Viewed (0)
Back to top