Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for touched (0.12 sec)

  1. hack/make-rules/verify.sh

        "verify-golangci-lint.sh"              # runs in separate pull-kubernetes-verify-lint
        )
    fi
    
    # Exclude readonly package check in certain cases, aka, in periodic jobs we don't care and a readonly package won't be touched
    if [[ ${EXCLUDE_READONLY_PACKAGE:-} =~ ^[yY]$ ]]; then
      EXCLUDED_PATTERNS+=(
        "verify-readonly-packages.sh"  # skip in CI, if env is set
        )
    fi
    
    # Only run known fast checks in quick mode.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 07 12:24:15 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. src/internal/trace/testdata/testprog/futile-wakeup.go

    		go func() {
    			trace.WithRegion(context.Background(), "special", func() {
    				for i := 0; i < iters; i++ {
    					runtime.Gosched()
    					c0 <- 0
    				}
    				done.Done()
    			})
    		}()
    		go func() {
    			trace.WithRegion(context.Background(), "special", func() {
    				for i := 0; i < iters; i++ {
    					runtime.Gosched()
    					<-c0
    				}
    				done.Done()
    			})
    		}()
    		go func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. platforms/core-runtime/base-services/src/test/groovy/org/gradle/util/internal/GFileUtilsTest.groovy

            when:
            touch(foo)
            then:
            foo.file
            foo.text == "data"
            foo.lastModified() > original
        }
    
        def "touch touches existing directory"() {
            def foo = temp.file("foo").createDir()
            def child = foo.file("data.txt") << "data"
            def original = foo.makeOlder().lastModified()
    
            when:
            touch(foo)
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 10:50:51 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. src/internal/trace/testdata/testprog/stress-start-stop.go

    			<-done
    			wg.Done()
    		}()
    		time.Sleep(time.Millisecond)
    
    		go func() {
    			runtime.LockOSThread()
    			for {
    				select {
    				case <-done:
    					return
    				default:
    					runtime.Gosched()
    				}
    			}
    		}()
    
    		runtime.GC()
    		// Trigger GC from malloc.
    		n := 512
    		for i := 0; i < n; i++ {
    			_ = make([]byte, 1<<20)
    		}
    
    		// Create a bunch of busy goroutines to load all Ps.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. src/internal/runtime/exithook/hooks.go

    }
    
    var (
    	locked  atomic.Int32
    	runGoid atomic.Uint64
    	hooks   []Hook
    	running bool
    
    	// runtime sets these for us
    	Gosched func()
    	Goid    func() uint64
    	Throw   func(string)
    )
    
    // Add adds a new exit hook.
    func Add(h Hook) {
    	for !locked.CompareAndSwap(0, 1) {
    		Gosched()
    	}
    	hooks = append(hooks, h)
    	locked.Store(0)
    }
    
    // Run runs the exit hooks.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 16:41:13 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. src/internal/trace/testdata/testprog/stress.go

    	time.Sleep(50 * time.Millisecond) // test proc stop/start events
    
    	go func() {
    		runtime.LockOSThread()
    		for {
    			select {
    			case <-done:
    				return
    			default:
    				runtime.Gosched()
    			}
    		}
    	}()
    
    	runtime.GC()
    	// Trigger GC from malloc.
    	n := 512
    	for i := 0; i < n; i++ {
    		_ = make([]byte, 1<<20)
    	}
    
    	// Create a bunch of busy goroutines to load all Ps.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. tests/non_std_test.go

    	DB.Save(&animal).Update("From", "a nice place") // The name field should be untouched
    	DB.First(&animal, animal.Counter)
    	if animal.Name != "galeone" {
    		t.Errorf("Name fields shouldn't be changed if untouched, but got %v", animal.Name)
    	}
    
    	// When changing a field with a default value, the change must occur
    	animal.Name = "amazing horse"
    	DB.Save(&animal)
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/initialization/InternalGradleFailuresIntegrationTest.groovy

                }
            """
        }
    
        def "Error message due to unwritable build scope cache directory is not scary"() {
            given:
            def localGradleCache = file('.gradle')
            localGradleCache.touch()
    
            when:
            fails 'hello'
    
            then:
            localGradleCache.isFile()
            assertHasStartupFailure(failure, "Cache directory '${localGradleCache}' exists and is not a directory.")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:54 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. platforms/software/build-init/src/test/groovy/org/gradle/buildinit/plugins/internal/GitAttributesGeneratorTest.groovy

    '''
            builder << '\n'
            builder << '''# These are Windows script files and should use crlf
    *.bat           text eol=crlf
    '''
            builder << '\n'
            builder << '''# Binary files should be left untouched
    *.jar           binary
    '''
            builder << '\n'
    
            return builder.toString()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 12:54:54 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManagerTest.java

            touchFile.delete();
    
            assertTrue(updateCheckManager.isUpdateRequired(a, remoteRepository));
    
            file.getParentFile().mkdirs();
            file.createNewFile();
            updateCheckManager.touch(a, remoteRepository, null);
    
            assertFalse(updateCheckManager.isUpdateRequired(a, remoteRepository));
    
            assertNull(
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top