Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 113 for touched (0.23 sec)

  1. 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)
  2. 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)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation_test.go

    												},
    											},
    										},
    									},
    								},
    							},
    						},
    						{
    							Name: "v2", // touched
    							Schema: &apiextensions.CustomResourceValidation{
    								OpenAPIV3Schema: &apiextensions.JSONSchemaProps{
    									Type: "object",
    									Properties: map[string]apiextensions.JSONSchemaProps{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 349.4K bytes
    - Viewed (0)
  4. src/runtime/chanbarrier_test.go

    			select {
    			case ch <- &async{resp: nil, err: myError{}}:
    			case <-done:
    			}
    		}()
    	} else {
    		go func() {
    			ch <- &async{resp: nil, err: myError{}}
    		}()
    	}
    
    	r := <-ch
    	runtime.Gosched()
    	return r.resp, r.err
    }
    
    func TestChanSendSelectBarrier(t *testing.T) {
    	t.Parallel()
    	testChanSendBarrier(true)
    }
    
    func TestChanSendBarrier(t *testing.T) {
    	t.Parallel()
    	testChanSendBarrier(false)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 17:50:18 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/cache/internal/DefaultGeneratedGradleJarCacheIntegrationTest.groovy

    import org.junit.Rule
    import spock.lang.Specification
    
    import java.util.concurrent.CountDownLatch
    import java.util.concurrent.atomic.AtomicInteger
    
    import static org.apache.commons.io.FileUtils.touch
    
    class DefaultGeneratedGradleJarCacheIntegrationTest extends Specification {
        private final static String CACHE_IDENTIFIER = 'test'
        private final static long JAR_GENERATION_TIME_MS = 2000L
    
        @Rule
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. platforms/software/build-init/src/main/java/org/gradle/buildinit/plugins/internal/GitAttributesGenerator.java

                    writer.println("*.bat           text eol=crlf");
                    writer.println();
                    writer.println("# Binary files should be left untouched");
                    writer.println("*.jar           binary");
                    writer.println();
                }
            } catch (IOException e) {
                throw new UncheckedIOException(e);
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 12:54:54 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  7. src/runtime/race/testdata/rangefunc_test.go

    func foo(v int) int64 {
    	var asum atomic.Int64
    	for i, x := range ofSliceIndex([]int64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10}) {
    		if i%5 == v {
    			break
    		}
    		asum.Add(x) // don't race on asum
    		runtime.Gosched()
    	}
    	return 100 + asum.Load()
    }
    
    // TestRaceRangeFuncIterator races because x%5 can be equal to 4,
    // therefore foo can early exit.
    func TestRaceRangeFuncIterator(t *testing.T) {
    	x := foo(4)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. src/iter/pull_test.go

    	// see the same value enough times in a row in between calls to
    	// runtime.Gosched. With GOMAXPROCS=1, we're trying to make sure
    	// that other goroutines run, so that they reach a stable point.
    	// It's not guaranteed, because it is still possible for a goroutine
    	// to Gosched back into itself, so we require NumGoroutine to be
    	// the same 100 times in a row. This should be more than enough to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:09:28 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  9. src/sync/pool_test.go

    					// allowing the pusher to run.
    					if fail++; fail%100 == 0 {
    						runtime.Gosched()
    					}
    				}
    			}
    			wg.Done()
    		}()
    	}
    
    	// Start 1 producer.
    	nPopHead := 0
    	wg.Add(1)
    	go func() {
    		for j := 0; j < N; j++ {
    			for !d.PushHead(j) {
    				// Allow a popper to run.
    				runtime.Gosched()
    			}
    			if j%10 == 0 {
    				val, ok := d.PopHead()
    				if ok {
    					nPopHead++
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8K bytes
    - Viewed (0)
  10. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/BuildInitInteractiveIntegrationTest.groovy

        }
    
        def "prompts to overwrite files if any exist and defaults to no"() {
            given: "a file exists in the build directory"
            targetDir.file(defaultFileName).touch()
    
            when:
            def handle = startInteractiveExecutorWithTasks(
                "init",
                "--incubating",
                "--dsl", "groovy",
                "--type", "basic",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 10 12:58:10 UTC 2024
    - 18.9K bytes
    - Viewed (0)
Back to top