Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 229 for startLine (1.04 sec)

  1. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/parsing/LightTreeUtil.kt

                    var startLine = -1
                    var startColumn = -1
                    var endLine = -1
                    var endColumn = -1
    
                    var i = offset
                    var line = 1
                    var column = 1
                    while (i < text.length) {
                        if (i == realStartIndex) {
                            startLine = line
                            startColumn = column
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:09 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. src/cmd/internal/pgo/pprof.go

    	weight := make(map[NamedCallEdge]int64)
    	for _, n := range g.Nodes {
    		seenStartLine = seenStartLine || n.Info.StartLine != 0
    
    		canonicalName := n.Info.Name
    		// Create the key to the nodeMapKey.
    		namedEdge := NamedCallEdge{
    			CallerName:     canonicalName,
    			CallSiteOffset: n.Info.Lineno - n.Info.StartLine,
    		}
    
    		for _, e := range n.Out {
    			totalWeight += e.WeightValue()
    			namedEdge.CalleeName = e.Dest.Info.Name
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:20:01 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. src/runtime/symtabinl_test.go

    				name = name[len(namePrefix):]
    			}
    			if !stringslite.HasPrefix(name, "tiu") {
    				t.Errorf("tiuTest+%#x: unexpected function %s", pc-pc1, name)
    			}
    
    			start := int(sf.startLine) - tiuStart
    			if start != wantStart[name] {
    				t.Errorf("tiuTest+%#x: want startLine %d, got %d", pc-pc1, wantStart[name], start)
    			}
    			if sf.funcID != abi.FuncIDNormal {
    				t.Errorf("tiuTest+%#x: bad funcID %v", pc-pc1, sf.funcID)
    			}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. src/runtime/symtabinl.go

    	_         [3]byte
    	nameOff   int32 // offset into pclntab for name of called function
    	parentPc  int32 // position of an instruction whose source position is the call site (offset from entry)
    	startLine int32 // line number of start of function (func keyword/TEXT directive)
    }
    
    // An inlineUnwinder iterates over the stack of inlined calls at a PC by
    // decoding the inline table. The last step of iteration is always the frame of
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/util/starttime.go

    package util
    
    import (
    	"time"
    )
    
    // startTime is a variable that represents the start time of the kubeadm process.
    // It can be used to consistently use the same start time instead of calling time.Now()
    // in multiple locations and ending up with minor time deviations.
    var startTime time.Time
    
    func init() {
    	startTime = time.Now()
    }
    
    // StartTimeUTC returns startTime with its location set to UTC.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 1K bytes
    - Viewed (0)
  6. pkg/controller/certificates/rootcacertpublisher/publisher.go

    	c.queue.Forget(key)
    	return true
    }
    
    func (c *Publisher) syncNamespace(ctx context.Context, ns string) (err error) {
    	startTime := time.Now()
    	defer func() {
    		recordMetrics(startTime, err)
    		klog.FromContext(ctx).V(4).Info("Finished syncing namespace", "namespace", ns, "elapsedTime", time.Since(startTime))
    	}()
    
    	cm, err := c.cmLister.ConfigMaps(ns).Get(RootCACertConfigMapName)
    	switch {
    	case apierrors.IsNotFound(err):
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  7. pkg/controller/namespace/namespace_controller.go

    func (nm *NamespaceController) syncNamespaceFromKey(ctx context.Context, key string) (err error) {
    	startTime := time.Now()
    	logger := klog.FromContext(ctx)
    	defer func() {
    		logger.V(4).Info("Finished syncing namespace", "namespace", key, "duration", time.Since(startTime))
    	}()
    
    	namespace, err := nm.lister.Get(key)
    	if errors.IsNotFound(err) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. pkg/controller/certificates/certificate_controller.go

    	}
    	cc.queue.Add(key)
    }
    
    func (cc *CertificateController) syncFunc(ctx context.Context, key string) error {
    	logger := klog.FromContext(ctx)
    	startTime := time.Now()
    	defer func() {
    		logger.V(4).Info("Finished syncing certificate request", "csr", key, "elapsedTime", time.Since(startTime))
    	}()
    	csr, err := cc.csrLister.Get(key)
    	if errors.IsNotFound(err) {
    		logger.V(3).Info("csr has been deleted", "csr", key)
    		return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. pkg/controller/volume/pvprotection/pv_protection_controller.go

    	logger := klog.FromContext(ctx)
    	logger.V(4).Info("Processing PV", "PV", klog.KRef("", pvName))
    	startTime := time.Now()
    	defer func() {
    		logger.V(4).Info("Finished processing PV", "PV", klog.KRef("", pvName), "cost", time.Since(startTime))
    	}()
    
    	pv, err := c.pvLister.Get(pvName)
    	if apierrors.IsNotFound(err) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  10. pkg/controller/bootstrap/tokencleaner.go

    	tc.queue.Forget(key)
    	return true
    }
    
    func (tc *TokenCleaner) syncFunc(ctx context.Context, key string) error {
    	logger := klog.FromContext(ctx)
    	startTime := time.Now()
    	defer func() {
    		logger.V(4).Info("Finished syncing secret", "secret", key, "elapsedTime", time.Since(startTime))
    	}()
    
    	namespace, name, err := cache.SplitMetaNamespaceKey(key)
    	if err != nil {
    		return err
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top