Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for create_node (0.29 sec)

  1. hack/make-rules/test-cmd.sh

    # and name get wiped, there were be no field managers tracking any fields.
    #
    # Exports:
    #   SUPPORTED_RESOURCES(Array of all resources supported by the apiserver).
    function create_node() {
      kubectl create -f - << __EOF__
    {
      "kind": "Node",
      "apiVersion": "v1",
      "metadata": {
        "name": "127.0.0.1",
        "annotations": {
          "save-managers": "true"
        }
      },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 09:10:14 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. pkg/controller/testutil/test_utils.go

    			nodes = append(nodes, m.Existing[i])
    		}
    	}
    	for i := 0; i < len(m.CreatedNodes); i++ {
    		if !contains(m.CreatedNodes[i], m.DeletedNodes) && !contains(m.CreatedNodes[i], nodes) {
    			nodes = append(nodes, m.CreatedNodes[i])
    		}
    	}
    	nodeList := &v1.NodeList{}
    	for _, node := range nodes {
    		nodeList.Items = append(nodeList.Items, *node)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  3. fastapi/utils.py

        PydanticSchemaGenerationError,
        Undefined,
        UndefinedType,
        Validator,
        lenient_issubclass,
    )
    from fastapi.datastructures import DefaultPlaceholder, DefaultType
    from pydantic import BaseModel, create_model
    from pydantic.fields import FieldInfo
    from typing_extensions import Literal
    
    if TYPE_CHECKING:  # pragma: nocover
        from .routing import APIRoute
    
    # Cache for `create_cloned_field`
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  4. fastapi/_compat.py

        Sequence,
        Set,
        Tuple,
        Type,
        Union,
    )
    
    from fastapi.exceptions import RequestErrorModel
    from fastapi.types import IncEx, ModelNameMap, UnionType
    from pydantic import BaseModel, create_model
    from pydantic.version import VERSION as P_VERSION
    from starlette.datastructures import UploadFile
    from typing_extensions import Annotated, Literal, get_args, get_origin
    
    # Reassign variable to make it reexported for mypy
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/windows/syscall_windows.go

    		sa = makeInheritSa()
    	}
    	var createmode uint32
    	switch {
    	case mode&(O_CREAT|O_EXCL) == (O_CREAT | O_EXCL):
    		createmode = CREATE_NEW
    	case mode&(O_CREAT|O_TRUNC) == (O_CREAT | O_TRUNC):
    		createmode = CREATE_ALWAYS
    	case mode&O_CREAT == O_CREAT:
    		createmode = OPEN_ALWAYS
    	case mode&O_TRUNC == O_TRUNC:
    		createmode = TRUNCATE_EXISTING
    	default:
    		createmode = OPEN_EXISTING
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 22:18:42 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  6. src/cmd/vendor/github.com/google/pprof/internal/graph/graph.go

    		return true
    	case n.Flat == 0 && n.Cum < 0:
    		return true
    	default:
    		return false
    	}
    }
    
    // CreateNodes creates graph nodes for all locations in a profile. It
    // returns set of all nodes, plus a mapping of each location to the
    // set of corresponding nodes (one per location.Line).
    func CreateNodes(prof *profile.Profile, o *Options) (Nodes, map[uint64]Nodes) {
    	locations := make(map[uint64]Nodes, len(prof.Location))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 31K bytes
    - Viewed (0)
  7. src/cmd/vendor/github.com/google/pprof/internal/report/report.go

    	fmt.Fprintln(w, strings.Join(ProfileLabels(rpt), "\n"))
    
    	prof := rpt.prof
    	o := rpt.options
    
    	const separator = "-----------+-------------------------------------------------------"
    
    	_, locations := graph.CreateNodes(prof, &graph.Options{})
    	for _, sample := range prof.Sample {
    		type stk struct {
    			*graph.NodeInfo
    			inline bool
    		}
    		var stack []stk
    		for _, loc := range sample.Location {
    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/cmd/vendor/golang.org/x/sys/windows/zsyscall_windows.go

    	}
    	return
    }
    
    func CreateFile(name *uint16, access uint32, mode uint32, sa *SecurityAttributes, createmode uint32, attrs uint32, templatefile Handle) (handle Handle, err error) {
    	r0, _, e1 := syscall.Syscall9(procCreateFileW.Addr(), 7, uintptr(unsafe.Pointer(name)), uintptr(access), uintptr(mode), uintptr(unsafe.Pointer(sa)), uintptr(createmode), uintptr(attrs), uintptr(templatefile), 0, 0)
    	handle = Handle(r0)
    	if handle == InvalidHandle {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 195.8K bytes
    - Viewed (0)
Back to top