Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 116 for recordLine (0.14 sec)

  1. pkg/proxy/conntrack/fake.go

    limitations under the License.
    */
    
    package conntrack
    
    import (
    	"fmt"
    
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/util/sets"
    )
    
    // FakeInterface implements Interface by just recording entries that have been cleared.
    type FakeInterface struct {
    	ClearedIPs      sets.Set[string]
    	ClearedPorts    sets.Set[int]
    	ClearedNATs     map[string]string // origin -> dest
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 26 04:15:49 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. src/runtime/symtab_test.go

    var intLit = lineNumber() + // 34
    	lineNumber() + // 35
    	lineNumber() // 36
    func trythis() { // 37
    	recordLines(lineNumber(), // 38
    		lineNumber(), // 39
    		lineNumber()) // 40
    }
    
    // Modifications below this line are okay.
    
    var l38, l39, l40 int
    
    func recordLines(a, b, c int) {
    	l38 = a
    	l39 = b
    	l40 = c
    }
    
    func TestLineNumber(t *testing.T) {
    	trythis()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 17 21:46:33 UTC 2022
    - 7.5K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheClassLoaderScopeRegistryListener.kt

        private
        val loaders = mutableMapOf<ClassLoader, Pair<ClassLoaderScopeSpec, ClassLoaderRole>>()
    
        override fun afterStart() {
            listenerManager.add(this)
        }
    
        /**
         * Stops recording [ClassLoaderScopeSpec]s and releases any recorded state.
         */
        fun dispose() {
            synchronized(lock) {
                // TODO:configuration-cache find a way to make `dispose` unnecessary;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 4.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. platforms/software/dependency-management/src/main/java/org/gradle/internal/resolve/caching/ImplicitInputsProvidingService.java

     * limitations under the License.
     */
    package org.gradle.internal.resolve.caching;
    
    import javax.annotation.Nullable;
    
    /**
     * Interface for services which support recording the "implicit inputs" they generate.
     * Whenever a rule calls a service, it may have side effects that needs to be taken
     * into account when checking if the rule is up-to-date. For example, if a rule performs
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/testing/DaemonsEventSequence.groovy

    import java.util.concurrent.LinkedBlockingQueue
    
    /**
     * Models an expected series of state checkpoints (which may have attached actions).
     * <p>
     * This works by watching a daemon registry in a background thread, recording each state change.
     * As the state changes, it is tested against the next checkpoint. If the state of the checkpoint matches,
     * then the process repeats with the next checkpoint (until all checkpoints are passed).
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/cache/Cache.java

      /**
       * Returns a current snapshot of this cache's cumulative statistics, or a set of default values if
       * the cache is not recording statistics. All statistics begin at zero and never decrease over the
       * lifetime of the cache.
       *
       * <p><b>Warning:</b> this cache may not be recording statistical data. For example, a cache
       * created using {@link CacheBuilder} only does so if the {@link CacheBuilder#recordStats} method
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Aug 07 02:38:22 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  8. src/internal/trace/parser.go

    	FakeP    = 1000000 + iota
    	TimerP   // depicts timer unblocks
    	NetpollP // depicts network unblocks
    	SyscallP // depicts returns from syscalls
    	GCP      // depicts GC state
    	ProfileP // depicts recording of CPU profile samples
    )
    
    // Event types in the trace.
    // Verbatim copy from src/runtime/trace.go with the "trace" prefix removed.
    const (
    	EvNone              = 0  // unused
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:31:04 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  9. 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)
  10. platforms/core-runtime/launcher/src/main/java/org/gradle/tooling/internal/provider/continuous/BuildInputHierarchy.java

    import org.gradle.internal.file.Stat;
    import org.gradle.internal.snapshot.CaseSensitivity;
    import org.gradle.internal.snapshot.VfsRelativePath;
    
    import java.io.File;
    import java.util.function.Supplier;
    
    /**
     * Allows recording and querying the input locations of a build.
     */
    public class BuildInputHierarchy {
        private volatile ValuedVfsHierarchy<InputDeclaration> root;
        private final SingleFileTreeElementMatcher matcher;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 4.5K bytes
    - Viewed (0)
Back to top