Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for nodeSize (0.17 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. cluster/kubemark/iks/config-default.sh

    REGISTRY_LOGIN_URL="${REGISTRY_LOGIN_URL:-https://api.ng.bluemix.net}"
    
    # User defined
    # number of real workers in spawnTester cluster
    NUM_NODES="${NUM_NODES:-2}"
    # spec of real workers in spawnTester cluster
    NODE_SIZE=${NODE_SIZE:-u2c.2x4}
    DESIRED_NODES="${DESIRED_NODES:-10}"
    # number of hollow nodes
    # TODO: once IKS supports `kubetest`, i.e. the base cluster provisioning implemented in `kubetest`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 17:15:29 UTC 2019
    - 2.1K bytes
    - Viewed (0)
  4. cluster/gce/gci/node-helper.sh

      echo "${metadata}"
    }
    
    # Assumed vars:
    #   scope_flags
    # Parameters:
    #   $1: template name (required).
    function create-linux-node-instance-template {
      local template_name="$1"
      local machine_type="${2:-$NODE_SIZE}"
    
      ensure-gci-metadata-files
      # shellcheck disable=2154 # 'scope_flags' is assigned by upstream
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 17 19:00:22 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  5. cluster/gce/windows/node-helper.sh

      local template_name="$1"
      local scopes_flag="$2"
      create-node-template "${template_name}" "${scopes_flag}" "$(get-windows-node-instance-metadata-from-file)" "$(get-windows-node-instance-metadata)" "windows" "${NODE_SIZE}"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 03 10:20:06 UTC 2019
    - 2.6K bytes
    - Viewed (0)
  6. pkg/test/framework/components/echo/config/param/template.go

    	case parse.NodeAction:
    		out.Merge(getParams(n.(*parse.ActionNode).Pipe))
    	case parse.NodeCommand:
    		for _, arg := range n.(*parse.CommandNode).Args {
    			out.Merge(getParams(arg))
    		}
    	case parse.NodePipe:
    		for _, c := range n.(*parse.PipeNode).Cmds {
    			out.Merge(getParams(c))
    		}
    	case parse.NodeList:
    		for _, next := range n.(*parse.ListNode).Nodes {
    			out.Merge(getParams(next))
    		}
    	}
    	return out
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Sep 15 21:32:48 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  7. tensorflow/cc/tools/freeze_saved_model.cc

      }
    }
    
    // Gets a map from string node name to NodeDef.
    void GetNodeNameToNodeDefMap(
        GraphDef* graph_def,
        std::unordered_map<string, NodeDef*>* name_to_node_map) {
      for (size_t i = 0; i < graph_def->node_size(); i++) {
        NodeDef* node = graph_def->mutable_node(i);
        (*name_to_node_map)[node->name()] = node;
      }
    }
    
    // Strips off the tensor part of the tensor_name to get the node_name.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 11 08:05:36 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  8. 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)
  9. tensorflow/cc/tools/freeze_saved_model_test.cc

        // In both cases, none should be variables.
        size_t expected_nodes = use_resource ? (use_identity ? 5 : 4) : 3;
    
        EXPECT_EQ(frozen_graph_def.node_size(), expected_nodes);
        for (const NodeDef& node : frozen_graph_def.node()) {
          EXPECT_NE(node.op(), "Variable") << node.name();
          EXPECT_NE(node.op(), "VariableV2") << node.name();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 07 13:30:31 UTC 2022
    - 21.7K bytes
    - Viewed (0)
  10. cluster/gce/config-test.sh

    export GCE_API_ENDPOINT=${KUBE_GCE_API_ENDPOINT:-}
    ZONE=${KUBE_GCE_ZONE:-us-central1-b}
    export REGION=${ZONE%-*}
    RELEASE_REGION_FALLBACK=${RELEASE_REGION_FALLBACK:-false}
    REGIONAL_KUBE_ADDONS=${REGIONAL_KUBE_ADDONS:-true}
    NODE_SIZE=${NODE_SIZE:-e2-standard-2}
    NUM_NODES=${NUM_NODES:-3}
    NUM_WINDOWS_NODES=${NUM_WINDOWS_NODES:-0}
    MASTER_SIZE=${MASTER_SIZE:-e2-standard-$(get-master-size)}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 17:20:24 UTC 2024
    - 29.8K bytes
    - Viewed (0)
Back to top