Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 71 for cleanAll (0.12 sec)

  1. platforms/documentation/docs/src/snippets/antMigration/importBuild/groovy/build.xml

    <project name="ant-import-sample" default="package" basedir=".">
        <property name="src.dir" value="src"/>
        <property name="build.dir" value="target"/>
        <property name="classes.dir" value="${build.dir}/classes"/>
    
        <target name="cleanAll">
            <delete dir="${build.dir}"/>
        </target>
    
        <target name="prepare">
            <tstamp>
                <format property="now" pattern="yyyy-MM-dd hh:mm:ss"/>
            </tstamp>
        </target>
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 958 bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/antMigration/importBuild/kotlin/build.xml

    <project name="ant-import-sample" default="package" basedir=".">
        <property name="src.dir" value="src"/>
        <property name="build.dir" value="target"/>
        <property name="classes.dir" value="${build.dir}/classes"/>
    
        <target name="cleanAll">
            <delete dir="${build.dir}"/>
        </target>
    
        <target name="prepare">
            <tstamp>
                <format property="now" pattern="yyyy-MM-dd hh:mm:ss"/>
            </tstamp>
        </target>
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 958 bytes
    - Viewed (0)
  3. pilot/pkg/model/typed_xds_cache.go

    	// Get retrieves the cached value if it exists.
    	Get(key K) *discovery.Resource
    	// Clear removes the cache entries that are dependent on the configs passed.
    	Clear(sets.Set[ConfigKey])
    	// ClearAll clears the entire cache.
    	ClearAll()
    	// Keys returns all currently configured keys. This is for testing/debug only
    	Keys() []K
    	// Snapshot returns a snapshot of all keys and values. This is for testing/debug only
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 05:26:03 UTC 2024
    - 11K bytes
    - Viewed (0)
  4. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/AbstractFileLockManagerTest.groovy

        def "updateFile throws integrity exception when not cleanly unlocked file"() {
            given:
            unlockUncleanly()
    
            and:
            def lock = createLock(Exclusive)
    
            when:
            lock.updateFile {}
    
            then:
            thrown FileIntegrityViolationException
        }
    
        def "writeFile does not throw integrity exception when not cleanly unlocked file"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/DaemonStopState.java

    /**
     * Indicates the state of the daemon when it stops doing work.
     */
    public enum DaemonStopState {
        /**
         * Daemon was stopped cleanly and all work stopped.
         */
        Clean,
        /**
         * Daemon could not be stopped cleanly and some work may still be running.
         */
        Forced
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 05 22:45:11 UTC 2024
    - 953 bytes
    - Viewed (0)
  6. pilot/pkg/xds/xds_cache_test.go

    		v := mkv(n)
    		time.Sleep(time.Millisecond * time.Duration(rand.Intn(100)))
    		req := &model.PushRequest{Start: start}
    		c.Add(k, req, v)
    	}
    	// 5 round of xds push
    	for vals := 0; vals < 5; vals++ {
    		c.ClearAll()
    		n.Inc()
    		start := time.Now()
    		for i := 0; i < 5; i++ {
    			go work(start, n.Load())
    		}
    		retry.UntilOrFail(t, func() bool {
    			val := c.Get(k)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Aug 31 20:43:08 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  7. pilot/pkg/model/xds_cache.go

    	x.cds.Clear(s)
    	// clear all EDS cache for PA change
    	if HasConfigsOfKind(s, kind.PeerAuthentication) {
    		x.eds.ClearAll()
    	} else {
    		x.eds.Clear(s)
    	}
    	x.rds.Clear(s)
    	x.sds.Clear(s)
    }
    
    func (x XdsCacheImpl) ClearAll() {
    	x.cds.ClearAll()
    	x.eds.ClearAll()
    	x.rds.ClearAll()
    	x.sds.ClearAll()
    }
    
    func (x XdsCacheImpl) Keys(t string) []any {
    	switch t {
    	case CDSType:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 02 07:02:05 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  8. test/chan/goroutines.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Torture test for goroutines.
    // Make a lot of goroutines, threaded together, and tear them down cleanly.
    
    package main
    
    import (
    	"os"
    	"strconv"
    )
    
    func f(left, right chan int) {
    	left <- <-right
    }
    
    func main() {
    	var n = 10000
    	if len(os.Args) > 1 {
    		var err error
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Feb 19 06:44:02 UTC 2012
    - 743 bytes
    - Viewed (0)
  9. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitTestFailureIntegrationTest.groovy

                assertTestFailed("normalFailingTest", containsString("AssertionError"))
            }
        }
    
        def "fails cleanly even if an exception is thrown that doesn't serialize cleanly"() {
            given:
            file('src/test/java/ExceptionTest.java') << """
                ${testFrameworkImports}
                import java.io.*;
    
                public class ExceptionTest {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 18K bytes
    - Viewed (0)
  10. src/cmd/internal/browser/browser.go

    // appearsSuccessful reports whether the command appears to have run successfully.
    // If the command runs longer than the timeout, it's deemed successful.
    // If the command runs within the timeout, it's deemed successful if it exited cleanly.
    func appearsSuccessful(cmd *exec.Cmd, timeout time.Duration) bool {
    	errc := make(chan error, 1)
    	go func() {
    		errc <- cmd.Wait()
    	}()
    
    	select {
    	case <-time.After(timeout):
    		return true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 17:49:12 UTC 2022
    - 1.7K bytes
    - Viewed (0)
Back to top