Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 96 for recordLine (1.22 sec)

  1. pkg/registry/core/service/portallocator/allocator.go

    	offset := port - r.portRange.Base
    	return true, offset
    }
    
    // Destroy shuts down internal allocator.
    func (r *PortAllocator) Destroy() {
    	r.alloc.Destroy()
    }
    
    // EnableMetrics enables metrics recording.
    func (r *PortAllocator) EnableMetrics() {
    	registerMetrics()
    	r.metrics = &metricsRecorder{}
    }
    
    // calculateRangeOffset estimates the offset used on the range for statically allocation based on
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 08 07:15:02 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/endpoints/metrics/metrics.go

    	removedReleaseAnnotationKey = "k8s.io/removed-release"
    )
    
    const (
    	// The source that is recording the apiserver_request_post_timeout_total metric.
    	// The "executing" request handler returns after the timeout filter times out the request.
    	PostTimeoutSourceTimeoutHandler = "timeout-handler"
    
    	// The source that is recording the apiserver_request_post_timeout_total metric.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 27 07:29:19 UTC 2023
    - 35K bytes
    - Viewed (0)
  3. src/cmd/gofmt/rewrite.go

    	}
    	return val
    }
    
    func isWildcard(s string) bool {
    	rune, size := utf8.DecodeRuneInString(s)
    	return size == len(s) && unicode.IsLower(rune)
    }
    
    // match reports whether pattern matches val,
    // recording wildcard submatches in m.
    // If m == nil, match checks whether pattern == val.
    func match(m map[string]reflect.Value, pattern, val reflect.Value) bool {
    	// Wildcard matches any expression. If it appears multiple
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 27 22:07:13 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  4. src/internal/coverage/cformat/format.go

    	// Pointer to current package state.
    	p *pstate
    	// Counter mode.
    	cm coverage.CounterMode
    }
    
    // pstate records package-level coverage data state:
    // - a table of functions (file/fname/literal)
    // - a map recording the index/ID of each func encountered so far
    // - a table storing execution count for the coverable units in each func
    type pstate struct {
    	// slice of unique functions
    	funcs []fnfile
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  5. src/net/http/httputil/dump.go

    	}
    
    	// Use the actual Transport code to record what we would send
    	// on the wire, but not using TCP.  Use a Transport with a
    	// custom dialer that returns a fake net.Conn that waits
    	// for the full input (and recording it), and then responds
    	// with a dummy response.
    	var buf bytes.Buffer // records the output
    	pr, pw := io.Pipe()
    	defer pr.Close()
    	defer pw.Close()
    	dr := &delegateReader{c: make(chan io.Reader)}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/check_test.go

    	}()
    	buildcfg.Experiment = *exp
    
    	// By default, gotypesalias is not set.
    	if gotypesalias != "" {
    		conf.EnableAlias = gotypesalias != "0"
    	}
    
    	// Provide Config.Info with all maps so that info recording is tested.
    	info := Info{
    		Types:        make(map[syntax.Expr]TypeAndValue),
    		Instances:    make(map[*syntax.Name]Instance),
    		Defs:         make(map[*syntax.Name]Object),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:45:33 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  7. plugin/pkg/auth/authorizer/node/node_authorizer.go

    	if verb == "create" {
    		return authorizer.DecisionAllow, "", nil
    	}
    
    	// For any other verb, checking the existing object must have established that access
    	// is allowed by recording a graph edge.
    	return r.authorize(nodeName, sliceVertexType, attrs)
    }
    
    // hasPathFrom returns true if there is a directed path from the specified type/namespace/name to the specified Node
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 16K bytes
    - Viewed (0)
  8. src/go/types/check_test.go

    	buildcfg.Experiment = *exp
    
    	// By default, gotypesalias is not set.
    	if gotypesalias != "" {
    		t.Setenv("GODEBUG", "gotypesalias="+gotypesalias)
    	}
    
    	// Provide Config.Info with all maps so that info recording is tested.
    	info := Info{
    		Types:        make(map[ast.Expr]TypeAndValue),
    		Instances:    make(map[*ast.Ident]Instance),
    		Defs:         make(map[*ast.Ident]Object),
    		Uses:         make(map[*ast.Ident]Object),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:45:33 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  9. src/go/types/typeset.go

    	// set (and don't store it!), so that we still compute the full
    	// type set eventually. Instead, return the top type set and
    	// let any follow-on errors play out.
    	//
    	// TODO(gri) Consider recording when this happens and reporting
    	// it as an error (but only if there were no other errors so to
    	// to not have unnecessary follow-on errors).
    	if !ityp.complete {
    		return &topTypeSet
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/typeset.go

    	// set (and don't store it!), so that we still compute the full
    	// type set eventually. Instead, return the top type set and
    	// let any follow-on errors play out.
    	//
    	// TODO(gri) Consider recording when this happens and reporting
    	// it as an error (but only if there were no other errors so to
    	// to not have unnecessary follow-on errors).
    	if !ityp.complete {
    		return &topTypeSet
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 13.6K bytes
    - Viewed (0)
Back to top