- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for dotdot (0.19 sec)
-
src/internal/filepathlite/path.go
// writing to buf; w is index of next byte to write. // dotdot is index in buf where .. must stop, either because // it is the leading slash or it is a leading ../../.. prefix. n := len(path) out := lazybuf{path: path, volAndPath: originalPath, volLen: volLen} r, dotdot := 0, 0 if rooted { out.append(Separator) r, dotdot = 1, 1 } for r < n { switch { case IsPathSeparator(path[r]):
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 23:07:50 UTC 2024 - 5.8K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/DefaultDynamicCallProblemReportingTest.kt
val results = Collections.synchronizedList(mutableListOf<Boolean>()) fun doTest() { reporting.enterDynamicCall(this) latch.countDown() latch.await() results += reporting.unreportedProblemInCurrentCall(problem) } (1..3).map { thread { doTest() } }.forEach(Thread::join) assertEquals(listOf(true, true, true), results) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 2.9K bytes - Viewed (0) -
src/cmd/internal/bootstrap_test/reboot_test.go
// This mimics the configuration one much have when // building from distro-packaged source code // (see https://go.dev/issue/54852). parent := t.TempDir() dotGit := filepath.Join(parent, ".git") if err := os.Mkdir(dotGit, 000); err != nil { t.Fatal(err) } overlayStart := time.Now() goroot := filepath.Join(parent, "goroot") gorootSrc := filepath.Join(goroot, "src")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 2.6K bytes - Viewed (0) -
testing/architecture-test/src/test/java/org/gradle/architecture/test/TempDirectoryCreationControlTest.java
import org.gradle.test.fixtures.file.TestFile; import java.io.File; import java.nio.file.Files; import java.nio.file.attribute.FileAttribute; import static com.tngtech.archunit.base.DescribedPredicate.doNot; import static com.tngtech.archunit.core.domain.Formatters.ensureSimpleName; import static com.tngtech.archunit.core.domain.JavaClass.Predicates.belongToAnyOf;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 4.4K bytes - Viewed (0) -
testing/internal-performance-testing/src/test/groovy/org/gradle/performance/results/TestPageGeneratorTest.groovy
def urls = new TestPageGenerator().createGitHubLinks(['123456', 'abcdefg']) then: urls[0].url == 'https://github.com/gradle/gradle/commit/123456' urls[1].url == 'https://github.com/gradle/dotcom/commit/abcdefg' } def "shortens label for commit hash"() { when: def urls = new TestPageGenerator().createGitHubLinks(['d47660cb46163d058f8de40b73b2f99a11a654a7']) then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.8K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/ScriptExecuter.groovy
} else { executable = "${workingDir}/${executable}" } builder.environment("JAVA_HOME", System.getProperty("java.home")) // // https://github.com/gradle/dotcom/issues/6071 builder.environment("JAVA_OPTS", "") return builder.build() } ExecResult run() { return build().start().waitForFinish() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun May 12 10:33:12 UTC 2024 - 1.6K bytes - Viewed (0) -
analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/substitutorProvider/AbstractCreateInheritanceTypeSubstitutorTest.kt
import org.jetbrains.kotlin.types.Variance import kotlin.collections.single abstract class AbstractCreateInheritanceTypeSubstitutorTest : AbstractAnalysisApiBasedTest() { override fun doTest(testServices: TestServices) { val baseClass = testServices.expressionMarkerProvider .getElementsOfTypeAtCarets<KtClassOrObject>(testServices, "base") .single().first
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Mon May 27 09:59:11 UTC 2024 - 3.1K bytes - Viewed (0) -
analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/symbols/AbstractMultiModuleSymbolByPsiTest.kt
import org.jetbrains.kotlin.test.services.TestServices import org.jetbrains.kotlin.test.services.assertions abstract class AbstractMultiModuleSymbolByPsiTest : AbstractAnalysisApiBasedTest() { override fun doTest(testServices: TestServices) { val files = testServices.ktTestModuleStructure.allMainKtFiles val debugRenderer = DebugSymbolRenderer() val debugPrinter = PrettyPrinter()
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 3.1K bytes - Viewed (0) -
analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/symbols/AbstractSymbolRestoreFromDifferentModuleTest.kt
abstract class AbstractSymbolRestoreFromDifferentModuleTest : AbstractAnalysisApiBasedTest() { private val defaultRenderer = KaDeclarationRendererForDebug.WITH_QUALIFIED_NAMES override fun doTest(testServices: TestServices) { val declaration = testServices.expressionMarkerProvider.getElementsOfTypeAtCarets<KtDeclaration>(testServices).single().first val restoreAt =
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 3.4K bytes - Viewed (0) -
analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/klibSourceFileProvider/AbstractGetKlibSourceFileNameTest.kt
/** * Reads through the declarations provided in the .klib and renders their `klibSourceFile` */ abstract class AbstractGetKlibSourceFileNameTest : AbstractAnalysisApiBasedTest() { override fun doTest(testServices: TestServices) { val mainModule = testServices.ktTestModuleStructure.mainModules .let { modules -> if (modules.size == 1) modules.first() else fail("Expected single main module. Found $modules") }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Mon May 27 09:59:11 UTC 2024 - 4.6K bytes - Viewed (0)