- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 32 for checkTime (0.25 sec)
-
src/cmd/go/internal/cache/cache_test.go
entry, _ := c.Get(id) PutBytes(c, ActionID(dummyID(2)), []byte("def")) mtime := now checkTime(fmt.Sprintf("%x-a", id), mtime) checkTime(fmt.Sprintf("%x-d", entry.OutputID), mtime) // Get should not change recent mtimes. now = start + 10 c.Get(id) checkTime(fmt.Sprintf("%x-a", id), mtime) checkTime(fmt.Sprintf("%x-d", entry.OutputID), mtime) // Get should change distant mtimes. now = start + 5000
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 25 00:49:37 UTC 2023 - 7.4K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/internal/invocation/BuildInvocationDetailsIntegTest.groovy
TimeConsumer(BuildInvocationDetails invocationDetails) { this.invocationDetails = invocationDetails } @TaskAction def checkTime() { def internalTimer = services.get($BuildStartedTime.name) assert invocationDetails.buildStartedTime != 0
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Feb 29 21:07:50 UTC 2020 - 1.8K bytes - Viewed (0) -
src/time/format_test.go
for _, test := range rubyTests { time, err := Parse(test.format, test.value) if err != nil { t.Errorf("%s error: %v", test.name, err) } else { checkTime(time, &test, t) } } } func checkTime(time Time, test *ParseTest, t *testing.T) { // The time should be Thu Feb 4 21:00:57 PST 2010 if test.yearSign >= 0 && test.yearSign*time.Year() != 2010 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:58:29 UTC 2024 - 36.4K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/LocalCache.java
* refresh. */ @CanIgnoreReturnValue @CheckForNull V refresh(K key, int hash, CacheLoader<? super K, V> loader, boolean checkTime) { final LoadingValueReference<K, V> loadingValueReference = insertLoadingValueReference(key, hash, checkTime); if (loadingValueReference == null) { return null; }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sat May 18 03:24:34 UTC 2024 - 143.6K bytes - Viewed (0) -
guava/src/com/google/common/cache/LocalCache.java
* refresh. */ @CanIgnoreReturnValue @CheckForNull V refresh(K key, int hash, CacheLoader<? super K, V> loader, boolean checkTime) { final LoadingValueReference<K, V> loadingValueReference = insertLoadingValueReference(key, hash, checkTime); if (loadingValueReference == null) { return null; }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sat May 18 03:24:34 UTC 2024 - 149.2K bytes - Viewed (0) -
src/cmd/compile/internal/types/size.go
// is needed immediately. CheckSize makes sure the // size is evaluated eventually. var deferredTypeStack []*Type func CheckSize(t *Type) { if t == nil { return } // function arg structs should not be checked // outside of the enclosing function. if t.IsFuncArgStruct() { base.Fatalf("CheckSize %v", t) } if defercalc == 0 { CalcSize(t)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 15K bytes - Viewed (0) -
src/test/java/jcifs/tests/FileAttributesTest.java
SmbFile checkFile = new SmbFile(f.getCanonicalPath(), f.getContext()) ) { try { assertTrue(checkFile.exists()); } finally { ostream.close(); checkFile.close(); f.delete(); } } } /**
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Thu Jan 05 13:09:03 UTC 2023 - 12.3K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_fuzz_minimize_dirty_cov.txt
return } }) } -- check_file/main.go -- package main import ( "bytes" "fmt" "os" "path/filepath" "regexp" "strconv" ) func checkFile(name, expected string) (bool, error) { data, err := os.ReadFile(name) if err != nil { return false, err } for _, line := range bytes.Split(data, []byte("\n")) { m := valRe.FindSubmatch(line) if m == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 27 01:16:19 UTC 2023 - 1.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/buildtag/buildtag_old.go
} if !bytes.Contains(line, []byte("+build")) { continue } if err := checkLine(string(line), i >= cutoff); err != nil { pass.Reportf(analysisutil.LineStart(tf, i+1), "%s", err) continue } } return nil } // checkLine checks a line that starts with "//" and contains "+build". func checkLine(line string, pastCutoff bool) error { line = strings.TrimPrefix(line, "//")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 4.3K bytes - Viewed (0) -
src/io/ioutil/ioutil_test.go
// license that can be found in the LICENSE file. package ioutil_test import ( "bytes" . "io/ioutil" "os" "path/filepath" "runtime" "testing" ) func checkSize(t *testing.T, path string, size int64) { dir, err := os.Stat(path) if err != nil { t.Fatalf("Stat %q (looking for size %d): %s", path, size, err) } if dir.Size() != size {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 11 20:56:32 UTC 2023 - 3.2K bytes - Viewed (0)