Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 202 for Resets (0.14 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/ResettableExpectations.java

     * test expectations before cleanup so they can be silenced if necessary.
     */
    public interface ResettableExpectations {
        /**
         * Resets all pending expectations after verifying them.
         * Must throw when a verification fails.
         */
        void resetExpectations();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/caching/internal/controller/impl/LifecycleAwareBuildCacheController.java

         */
        void configurationAvailable(BuildCacheConfigurationInternal configuration);
    
        /**
         * Resets the state of this controller in preparation for loading configuration from the cache.
         */
        void resetState();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 23:28:13 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. src/runtime/trace2map_test.go

    package runtime_test
    
    import (
    	. "runtime"
    	"strconv"
    	"sync"
    	"testing"
    )
    
    func TestTraceMap(t *testing.T) {
    	var m TraceMap
    
    	// Try all these operations multiple times between resets, to make sure
    	// we're resetting properly.
    	for range 3 {
    		var d = [...]string{
    			"a",
    			"b",
    			"aa",
    			"ab",
    			"ba",
    			"bb",
    		}
    		for i, s := range d {
    			id, inserted := m.PutString(s)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 10 18:52:49 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/io/FileBackedOutputStream.java

      }
    
      /**
       * Creates a new instance that uses the given file threshold, and optionally resets the data when
       * the {@link ByteSource} returned by {@link #asByteSource} is finalized.
       *
       * @param fileThreshold the number of bytes before the stream should switch to buffering to a file
       * @param resetOnFinalize if true, the {@link #reset} method will be called when the {@link
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/FileBackedOutputStream.java

      }
    
      /**
       * Creates a new instance that uses the given file threshold, and optionally resets the data when
       * the {@link ByteSource} returned by {@link #asByteSource} is finalized.
       *
       * @param fileThreshold the number of bytes before the stream should switch to buffering to a file
       * @param resetOnFinalize if true, the {@link #reset} method will be called when the {@link
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. src/runtime/traceregion.go

    	x := (*notInHeap)(unsafe.Pointer(&block.data[0]))
    
    	// Publish the new block.
    	a.current.Store(unsafe.Pointer(block))
    	unlock(&a.lock)
    	return x
    }
    
    // drop frees all previously allocated memory and resets the allocator.
    //
    // drop is not safe to call concurrently with other calls to drop or with calls to alloc. The caller
    // must ensure that it is not possible for anything else to be using the same structure.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. src/math/rand/v2/chacha8.go

    	readLen int // 0 <= readLen <= 8
    }
    
    // NewChaCha8 returns a new ChaCha8 seeded with the given seed.
    func NewChaCha8(seed [32]byte) *ChaCha8 {
    	c := new(ChaCha8)
    	c.state.Init(seed)
    	return c
    }
    
    // Seed resets the ChaCha8 to behave the same way as NewChaCha8(seed).
    func (c *ChaCha8) Seed(seed [32]byte) {
    	c.state.Init(seed)
    	c.readLen = 0
    	c.readBuf = [8]byte{}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:09:08 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top