Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 164 for touched (0.1 sec)

  1. 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)
  2. test/goprint.go

    	for {
    		numg := runtime.NumGoroutine()
    		if numg > numg0 {
    			if time.Now().After(deadline) {
    				log.Fatalf("%d goroutines > initial %d after deadline", numg, numg0)
    			}
    			runtime.Gosched()
    			continue
    		}
    		break
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 10 19:38:06 UTC 2019
    - 722 bytes
    - Viewed (0)
  3. proguard/collect.pro

    #
    # We use -keepclassmembernames because we want for ImmutableMultimap and its
    # fields to be stripped if it's unused: -keepclassmembernames says that, *if*
    # you're keeping the fields, you need to leave their names untouched. (Anyone
    # who is using ImmutableMultimap will certainly be using its fields. So we
    # don't need to worry that an ImmutableMultimap user will have the fields
    # optimized away.)
    #
    # This configuration is untested....
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 09 00:29:01 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  4. platforms/native/language-native/src/test/groovy/org/gradle/language/AbstractNativeComponentPluginTest.groovy

                exportedHeaders.srcDirs*.name == ["h3"]
            }
        }
    
        def "creates compile tasks for each non-empty executable source set"() {
            when:
            touch("src/test/$pluginName/file.o")
            touch("src/test/anotherOne/file.o")
            dsl {
                pluginManager.apply pluginClass
                model {
                    components {
                        test(NativeExecutableSpec) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 6K bytes
    - Viewed (0)
  5. .gitattributes

    *.css           text diff=css
    *.htm           text diff=html
    *.html          text diff=html
    *.java          text diff=java
    *.sh            text eol=lf
    
    
    # These files are binary and should be left untouched
    # (binary is a macro for -text -diff)
    *.a             binary
    *.lib           binary
    *.icns          binary
    *.png           binary
    *.jpg           binary
    *.jpeg          binary
    *.gif           binary
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Sep 02 12:15:16 UTC 2020
    - 1.1K bytes
    - Viewed (0)
  6. test/stress/maps.go

    	GetItem()
    	RangeAll()
    }
    
    func stressMapType(mt MapType, done func()) {
    	defer done()
    	m := mt.NewMap()
    	for m.Len() < 10000 {
    		Println("map at ", m.Len())
    		if m.Len()%100 == 0 {
    			runtime.Gosched()
    		}
    		m.AddItem()
    		m.AddItem()
    		m.DelItem()
    		var wg sync.WaitGroup
    		const numGets = 10
    		wg.Add(numGets)
    		for i := 0; i < numGets; i++ {
    			go func(i int) {
    				if i&1 == 0 {
    					m.GetItem()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 1.8K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/test_finished_subtest_goroutines.txt

    			// send, allow them to park now. If they're not going to park,
    			// make sure they have had a chance to run to completion so
    			// that they aren't spuriously parked when we panic.
    			runtime.Gosched()
    		}
    		panic("slow failure")
    	})
    
    	wg.Add(nFast)
    	for i := 0; i < nFast; i++ {
    		t.Run(fmt.Sprintf("leaky%d", i), func(t *testing.T) {
    			t.Parallel()
    			wg.Done()
    		})
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 19 17:34:25 UTC 2021
    - 1K bytes
    - Viewed (0)
  8. src/runtime/lock_wasip1.go

    	if gp == gp.m.g0 {
    		throw("notetsleepg on g0")
    	}
    
    	deadline := nanotime() + ns
    	for {
    		if n.key != 0 {
    			return true
    		}
    		if sched_yield() != 0 {
    			throw("sched_yield failed")
    		}
    		Gosched()
    		if ns >= 0 && nanotime() >= deadline {
    			return false
    		}
    	}
    }
    
    func beforeIdle(int64, int64) (*g, bool) {
    	return nil, false
    }
    
    func checkTimeouts() {}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 21:02:20 UTC 2023
    - 2K bytes
    - Viewed (0)
  9. operator/pkg/cache/cache_test.go

    						}, nil, nil),
    						"dont-touch-me-key": object.NewK8sObject(&unstructured.Unstructured{
    							Object: make(map[string]any),
    						}, nil, nil),
    					},
    					Mu: &sync.RWMutex{},
    				},
    			},
    			objCacheRemovalKey: "cache-foo-key",
    			removalKey:         "obj-foo-key",
    			expectedCache: ObjectCache{
    				Cache: map[string]*object.K8sObject{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 20 18:46:12 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  10. 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)
Back to top