- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for GetResource (0.22 sec)
-
okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/HpackJsonUtil.kt
} } /** Iterate through the hpack-test-case resources, only picking stories for the current draft. */ fun storiesForCurrentDraft(): Array<String> { val resource = HpackJsonUtil::class.java.getResource("/hpack-test-case") ?: return arrayOf() val testCaseDirectory = File(resource.toURI()).toOkioPath() val result = mutableListOf<String>() for (path in fileSystem.list(testCaseDirectory)) {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 3.3K bytes - Viewed (0) -
build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/action/AnnotationGeneratorWorkAction.kt
* Please keep this code in sync. */ internal fun generateImportPackages(): List<String> { /* * The class that getResource called upon must be from within a jar that contains the import txt file. * * Note: Even though 'jump to declaration' in IJ will show this to be the 'DefaultImportsReader' from
Plain Text - Registered: Wed Mar 27 11:36:08 GMT 2024 - Last Modified: Wed Jun 22 10:58:31 GMT 2022 - 6.9K bytes - Viewed (0) -
build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/support/ClassBytesRepository.kt
} private fun loaderClassBytesIndexFor(loader: ClassLoader): ClassBytesIndex = { classFilePath -> loader.getResource(classFilePath)?.let { { loader.getResourceAsStream(classFilePath).use { it!!.readBytes() } } } } private fun openJarFile(file: File) =
Plain Text - Registered: Wed Feb 28 11:36:09 GMT 2024 - Last Modified: Sat Sep 30 16:17:27 GMT 2023 - 6.1K bytes - Viewed (0) -
native-image-tests/src/main/kotlin/okhttp3/RunTests.kt
*/ fun testSelectors(inputFile: File? = null): List<DiscoverySelector> { val sampleTestClass = SampleTest::class.java val lines = inputFile?.readLines() ?: sampleTestClass.getResource("/testlist.txt").readText().lines() val flatClassnameList = lines .filter { it.isNotBlank() } return flatClassnameList .mapNotNull { try {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 5.3K bytes - Viewed (0)