Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for recordLine (0.16 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  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. 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)
  8. 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)
  9. 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)
  10. pkg/kubelet/kubelet_node_status.go

    }
    
    // recordNodeStatusEvent records an event of the given type with the given
    // message for the node.
    func (kl *Kubelet) recordNodeStatusEvent(eventType, event string) {
    	klog.V(2).InfoS("Recording event message for node", "node", klog.KRef("", string(kl.nodeName)), "event", event)
    	kl.recorder.Eventf(kl.nodeRef, eventType, event, "Node %s status is now: %s", kl.nodeName, event)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 31.1K bytes
    - Viewed (0)
Back to top