Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,884 for resets (0.25 sec)

  1. src/runtime/tracetype.go

    // releases all memory and resets state. It must only be called once the caller
    // can guarantee that there are no more writers to the table.
    func (t *traceTypeTable) dump(gen uintptr) {
    	w := unsafeTraceExpWriter(gen, nil, traceExperimentAllocFree)
    	if root := (*traceMapNode)(t.tab.root.Load()); root != nil {
    		w = dumpTypesRec(root, w)
    	}
    	w.flush().end()
    	t.tab.reset()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:31:27 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/execution/taskgraph/TaskExecutionGraphInternal.java

         * Returns all the work items in this graph scheduled for execution plus all
         * dependencies from other builds.
         */
        void visitScheduledNodes(BiConsumer<List<Node>, Set<Node>> visitor);
    
        /**
         * Resets the lifecycle for this graph.
         */
        void resetState();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 23 19:05:29 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/ConnectorServices.java

            return new DefaultCancellationTokenSource();
        }
    
        public static void close() {
            singletonRegistry.close();
        }
    
        /**
         * Resets the state of connector services. Meant to be used only for testing!
         */
        public static void reset() {
            singletonRegistry.close();
            singletonRegistry = new ConnectorServiceRegistry();
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 09:21:42 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. security/pkg/credentialfetcher/plugin/mock.go

    func (ms *MetadataServer) NumGetTokenCall() int {
    	ms.mutex.RLock()
    	defer ms.mutex.RUnlock()
    
    	return ms.numGetTokenCall
    }
    
    // Reset resets members to default values.
    func (ms *MetadataServer) Reset() {
    	ms.mutex.Lock()
    	defer ms.mutex.Unlock()
    
    	ms.numGetTokenCall = 0
    	ms.credential = ""
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/server/egressselector/metrics/metrics.go

    // Clock returns the clock.
    func (m *DialMetrics) Clock() clock.Clock {
    	return m.clock
    }
    
    // SetClock sets the clock.
    func (m *DialMetrics) SetClock(c clock.Clock) {
    	m.clock = c
    }
    
    // Reset resets the metrics.
    func (m *DialMetrics) Reset() {
    	m.starts.Reset()
    	m.latencies.Reset()
    	m.failures.Reset()
    }
    
    // ObserveDialStart records the start of a dial attempt, labeled by protocol, transport.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 01 23:36:51 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  6. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/console/DefaultColorMapTest.groovy

            color = map.getColourFor(Style.FailureHeader)
            color.on(ansi)
    
            then:
            1 * ansi.fg(Color.MAGENTA)
            1 * ansi.a(Attribute.ITALIC)
    
            when: 'That color is turned off, it resets to default'
            color.off(ansi)
    
            then:
            1 * ansi.fg(Color.DEFAULT)
            1 * ansi.a(Attribute.ITALIC_OFF)
    
            when: 'A Style is overridden with a compound property'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  7. cmd/genkubedocs/gen_kube_docs.go

    		doc.GenMarkdownTree(scheduler, outDir)
    	case "kubelet":
    		// generate docs for kubelet
    		kubelet := kubeletapp.NewKubeletCommand()
    		doc.GenMarkdownTree(kubelet, outDir)
    	case "kubeadm":
    		// resets global flags created by kubelet or other commands e.g.
    		// --azure-container-registry-config from pkg/credentialprovider/azure
    		// --version pkg/version/verflag
    		pflag.CommandLine = pflag.NewFlagSet(os.Args[0], pflag.ExitOnError)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 01 05:59:41 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  8. src/go/scanner/errors.go

    // Add adds an [Error] with given position and error message to an [ErrorList].
    func (p *ErrorList) Add(pos token.Position, msg string) {
    	*p = append(*p, &Error{pos, msg})
    }
    
    // Reset resets an [ErrorList] to no errors.
    func (p *ErrorList) Reset() { *p = (*p)[0:0] }
    
    // [ErrorList] implements the sort Interface.
    func (p ErrorList) Len() int      { return len(p) }
    func (p ErrorList) Swap(i, j int) { p[i], p[j] = p[j], p[i] }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 3K bytes
    - Viewed (0)
  9. src/runtime/coverage/coverage.go

    // "-cover", or if a write fails). The counter data written will be a
    // snapshot taken at the point of the invocation.
    func WriteCounters(w io.Writer) error {
    	return cfile.WriteCounters(w)
    }
    
    // ClearCounters clears/resets all coverage counter variables in the
    // currently running program. It returns an error if the program in
    // question was not built with the "-cover" flag. Clearing of coverage
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 19:41:02 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/util/managedfields/managedfieldstest/testfieldmanager.go

    // test them specifically.
    type TestFieldManager interface {
    	// APIVersion of the object that we're tracking.
    	APIVersion() string
    	// Reset resets the state of the liveObject by resetting it to an empty object.
    	Reset()
    	// Live returns a copy of the current liveObject.
    	Live() runtime.Object
    	// Apply applies the given object on top of the current liveObj, for the
    	// given manager and force flag.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 16 20:03:48 UTC 2023
    - 3.6K bytes
    - Viewed (0)
Back to top