- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for countFiles (0.21 sec)
-
src/cmd/vendor/golang.org/x/telemetry/internal/upload/reports.go
continue } if end.Before(thisInstant) { expiry := end.Format(dateFormat) countFiles[expiry] = append(countFiles[expiry], f) if earliest[expiry].IsZero() || earliest[expiry].After(begin) { earliest[expiry] = begin } } } for expiry, files := range countFiles { if notNeeded(expiry, *todo) { u.logger.Printf("Files for %s not needed, deleting %v", expiry, files)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 14:52:56 UTC 2024 - 10.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/internal/upload/findwork.go
case expiry.After(u.startTime): u.logger.Printf("Skipping count file %s: still active", fi.Name()) default: u.logger.Printf("Collecting count file %s", fi.Name()) ans.countfiles = append(ans.countfiles, fname) } } else if strings.HasPrefix(fi.Name(), "local.") { // skip } else if strings.HasSuffix(fi.Name(), ".json") && mode == "on" { // Collect reports that are ready for upload.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 21:12:15 UTC 2024 - 3.4K bytes - Viewed (0) -
cmd/kubeadm/test/util.go
files, err := os.ReadDir(dirName) if err != nil { t.Fatalf("Couldn't read files from tmpdir: %s", err) } countFiles := 0 for _, f := range files { if !f.IsDir() { countFiles++ } } if countFiles != count { t.Errorf("dir does contains %d, %d expected", len(files), count) for _, f := range files { t.Error(f.Name()) } } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 01 05:59:41 UTC 2022 - 3.8K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/archive/ArchiveTestFixture.groovy
this } String content(String relativePath) { List<String> files = filesByRelativePath.get(relativePath) assert files.size() == 1 files.get(0) } Integer countFiles(String relativePath) { filesByRelativePath.get(relativePath).size() } def hasDirs(String... relativePaths) { assert dirs.sort() == relativePaths.collect { it + "/" }.sort() this
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 4.8K bytes - Viewed (0) -
platforms/jvm/language-jvm/src/integTest/groovy/org/gradle/api/tasks/bundling/JarIntegrationTest.groovy
} private def confirmDuplicateServicesPreserved() { def jar = new JarTestFixture(file('test.jar')) assert 2 == jar.countFiles('META-INF/services/org.gradle.Service') assert 1 == jar.countFiles('path/test.txt') jar.assertFileContent('test.txt', 'Content of first file') jar.hasService('org.gradle.Service', 'org.gradle.BetterServiceImpl')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 12:15:28 UTC 2023 - 15.7K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl-tooling-builders/src/main/kotlin/org/gradle/kotlin/dsl/tooling/builders/EditorReportsBuilder.kt
} internal fun File.readLinesRange() = countLines().let { count -> if (count == 0L) 0..0L else 1..count } private fun File.countLines(): Long = inputStream().buffered().use { input -> input.countLines() } private fun BufferedInputStream.countLines(): Long { val buffer = ByteArray(DEFAULT_BUFFER_SIZE)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 12 19:30:55 UTC 2024 - 6.2K bytes - Viewed (0) -
src/main/webapp/js/admin/plugins/form-validator/location.js
module&&module.exports?module.exports=b(require("jquery")):b(a.jQuery)}(this,function(a){!function(a){a.formUtils.registerLoadedModule("location"),a.formUtils.addValidator({name:"country",validatorFunction:function(b){return a.inArray(b.toLowerCase(),this.countries)>-1},countries:["afghanistan","albania","algeria","american samoa","andorra","angola","anguilla","antarctica","antigua and barbuda","argentina","armenia","aruba","australia","austria","azerbaijan","bahamas","bahrain","bangladesh","barbados","belarus","...
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Mon Jan 01 05:12:47 UTC 2018 - 5.2K bytes - Viewed (0) -
src/main/webapp/js/admin/plugins/form-validator/sweden.js
m%10===0},errorMessage:"",errorMessageKey:"badSecurityNumber"}),a.formUtils.addValidator({name:"swecounty",validatorFunction:function(b){return b=b.toLowerCase(),a.inArray(b,this.counties)!==-1||"län"!==b.substr(-3).toLocaleLowerCase()&&a.inArray(b+"s län",this.counties)>-1},errorMessage:"",errorMessageKey:"badCustomVal",counties:["stockholms län","uppsala län","södermanlands län","östergötlands län","jönköpings län","kronobergs län","kalmar län","gotlands län","blekinge län","skåne län","hallands län","västra...
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Mon Jan 01 05:12:47 UTC 2018 - 6.4K bytes - Viewed (0) -
tests/error_translator_test.go
return } DB.Migrator().DropTable(&City{}, &Museum{}) if err = db.AutoMigrate(&City{}, &Museum{}); err != nil { t.Fatalf("failed to migrate countries & cities tables, got error: %v", err) } city := City{Name: "Amsterdam"} err = db.Create(&city).Error if err != nil { t.Fatalf("failed to create city: %v", err) }
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Wed Jul 12 13:21:22 UTC 2023 - 3.1K bytes - Viewed (0) -
LICENSE
12. If the distribution and/or use of the Library is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Library under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Mon Jan 18 20:25:38 UTC 2016 - 25.8K bytes - Viewed (0)