Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testExpired (0.28 sec)

  1. src/test/java/org/codelibs/core/timer/TimeoutManagerTest.java

        }
    
        protected void tearDown() throws Exception {
            TimeoutManager.getInstance().clear();
        }
    
        /**
         * @throws Exception
         */
        public void testExpired() throws Exception {
            TimeoutTask task = TimeoutManager.getInstance().addTimeoutTarget(new TimeoutTarget() {
                public void expired() {
                    System.out.println("expired");
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. src/cmd/go/internal/clean/clean.go

    		// we write a file to the cache indicating that all test results from before
    		// right now are to be ignored.
    		dir, _ := cache.DefaultDir()
    		if dir != "off" {
    			f, err := lockedfile.Edit(filepath.Join(dir, "testexpire.txt"))
    			if err == nil {
    				now := time.Now().UnixNano()
    				buf, _ := io.ReadAll(f)
    				prev, _ := strconv.ParseInt(strings.TrimSpace(string(buf)), 10, 64)
    				if now > prev {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  3. src/cmd/go/internal/test/test.go

    	// instead of searching out and deleting test result cache entries.)
    	if dir, _ := cache.DefaultDir(); dir != "off" {
    		if data, _ := lockedfile.Read(filepath.Join(dir, "testexpire.txt")); len(data) > 0 && data[len(data)-1] == '\n' {
    			if t, err := strconv.ParseInt(string(data[:len(data)-1]), 10, 64); err == nil {
    				testCacheExpire = time.Unix(0, t)
    			}
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
Back to top