Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for recordLine (0.17 sec)

  1. src/go/printer/printer.go

    			size += len(c.Text)
    		}
    		p.nextComment()
    	}
    	return size
    }
    
    // recordLine records the output line number for the next non-whitespace
    // token in *linePtr. It is used to compute an accurate line number for a
    // formatted construct, independent of pending (not yet emitted) whitespace
    // or comments.
    func (p *printer) recordLine(linePtr *int) {
    	p.linePtr = linePtr
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 41.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

       * AssertionFailedError thrown, so that the current testcase will fail.
       */
      public void threadAssertFalse(boolean b) {
        try {
          assertFalse(b);
        } catch (AssertionFailedError t) {
          threadRecordFailure(t);
          throw t;
        }
      }
    
      /**
       * Just like assertNull(x), but additionally recording (using threadRecordFailure) any
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

       * AssertionFailedError thrown, so that the current testcase will fail.
       */
      public void threadAssertFalse(boolean b) {
        try {
          assertFalse(b);
        } catch (AssertionFailedError t) {
          threadRecordFailure(t);
          throw t;
        }
      }
    
      /**
       * Just like assertNull(x), but additionally recording (using threadRecordFailure) any
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  4. src/runtime/lockrank_on.go

    	if l == &debuglock || l == &paniclk || l == &raceFiniLock {
    		// debuglock is only used for println/printlock(). Don't do lock
    		// rank recording for it, since print/println are used when
    		// printing out a lock ordering problem below.
    		//
    		// paniclk is only used for fatal throw/panic. Don't do lock
    		// ranking recording for it, since we throw after reporting a
    		// lock ordering problem. Additionally, paniclk may be taken
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:29:04 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache.go

    	if w.isCacheFullLocked() && eventTime.Sub(w.cache[w.startIndex%w.capacity].RecordTime) < eventFreshDuration {
    		capacity := min(w.capacity*2, w.upperBoundCapacity)
    		if capacity > w.capacity {
    			w.doCacheResizeLocked(capacity)
    		}
    		return
    	}
    	if w.isCacheFullLocked() && eventTime.Sub(w.cache[(w.endIndex-w.capacity/4)%w.capacity].RecordTime) > eventFreshDuration {
    		capacity := max(w.capacity/2, w.lowerBoundCapacity)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 10:20:57 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  6. pkg/controller/util/node/controller_utils.go

    	logger := klog.FromContext(ctx)
    	ref := &v1.ObjectReference{
    		APIVersion: "v1",
    		Kind:       "Node",
    		Name:       nodeName,
    		UID:        types.UID(nodeUID),
    		Namespace:  "",
    	}
    	logger.V(2).Info("Recording event message for node", "event", event, "node", klog.KRef("", nodeName))
    	recorder.Eventf(ref, eventtype, reason, "Node %s event: %s", nodeName, event)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 05 23:39:52 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  7. cni/pkg/nodeagent/ztunnelserver.go

    }
    
    func (c *connMgr) addConn(conn *ZtunnelConnection) {
    	log.Debug("ztunnel connected")
    	c.mu.Lock()
    	defer c.mu.Unlock()
    	c.connectionSet[conn] = struct{}{}
    	c.latestConn = conn
    	ztunnelConnected.RecordInt(int64(len(c.connectionSet)))
    }
    
    func (c *connMgr) LatestConn() *ZtunnelConnection {
    	c.mu.Lock()
    	defer c.mu.Unlock()
    	return c.latestConn
    }
    
    func (c *connMgr) deleteConn(conn *ZtunnelConnection) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 22:07:03 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache_test.go

    }
    
    func loadEventWithDuration(cache *testWatchCache, count int, interval time.Duration) {
    	for i := 0; i < count; i++ {
    		event := &watchCacheEvent{
    			Key:        fmt.Sprintf("event-%d", i+cache.startIndex),
    			RecordTime: cache.clock.Now().Add(time.Duration(interval.Nanoseconds() * int64(i))),
    		}
    		cache.cache[(i+cache.startIndex)%cache.capacity] = event
    	}
    	cache.endIndex = cache.startIndex + count
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 09:20:10 UTC 2024
    - 35.4K bytes
    - Viewed (0)
  9. platforms/jvm/ear/src/main/java/org/gradle/plugins/ear/Ear.java

                    recordTopLevelModules(details);
                }
            }));
    
            // create our own metaInf which runs after mainSpec's files
            // this allows us to generate the deployment descriptor after recording all modules it contains
            CopySpecInternal metaInf = (CopySpecInternal) getMainSpec().addChild().into("META-INF");
            CopySpecInternal descriptorChild = metaInf.addChild();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  10. 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)
Back to top