Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 157 for Mystring (0.14 sec)

  1. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/VfsRelativePathTest.groovy

    class VfsRelativePathTest extends Specification {
    
        def "convert absolute path '#absolutePath' to relative path '#relativePath'"() {
            expect:
            VfsRelativePath.of(absolutePath).asString == relativePath
    
            where:
            absolutePath           | relativePath
            'C:\\'                 | 'C:'
            'C:\\Users\\user'      | 'C:\\Users\\user'
            '/'                    | ''
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  2. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/KtFe10JvmTypeMapperContext.kt

                    if (parentInternalName != null) "$parentInternalName$$selfName" else null
                }
                else -> selfName.asString()
            }
        }
    
        private fun computeSupertypeInternalName(descriptor: ClassDescriptor): String {
            var interfaceSupertypeInternalName: String? = null
    
            for (supertype in descriptor.typeConstructor.supertypes) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/test/callback_c.c

    }
    
    int
    returnAfterGrowFromGo(void)
    {
    	extern int goReturnVal(void);
    	return goReturnVal();
    }
    
    void
    callGoWithString(void)
    {
    	extern void goWithString(GoString);
    	const char *str = "string passed from C to Go";
    	goWithString((GoString){str, strlen(str)});
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 933 bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/JavaSourceQueries.kt

    private
    fun <T> T.matchesNameAndIsSince(candidateName: String, version: String): Boolean where T : BodyDeclaration<*>, T : NodeWithSimpleName<*> =
        takeIf { it.matchesName(candidateName) }?.isSince(version) == true
    
    
    private
    fun <T : NodeWithSimpleName<*>> T.matchesName(candidateName: String) =
        matchesName(name.asString(), candidateName)
    
    
    private
    fun matchesName(name: String, candidateName: String) =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 01 20:12:19 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/KtFirNamedClassOrObjectSymbolBase.kt

            return when (val symbolKind = symbolKind) {
                KaSymbolKind.LOCAL ->
                    throw CanNotCreateSymbolPointerForLocalLibraryDeclarationException(classId?.asString() ?: name.asString())
    
                KaSymbolKind.CLASS_MEMBER, KaSymbolKind.TOP_LEVEL ->
                    KaFirClassLikeSymbolPointer(classId!!, KaNamedClassOrObjectSymbol::class)
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 09:59:11 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/id/UniqueIdTest.groovy

            def n = 100
            (1..n).collect { UniqueId.generate() }.unique().size() == n
        }
    
        def "can roundtrip to / from string"() {
            when:
            def id = UniqueId.generate()
            def s = id.asString()
    
            then:
            UniqueId.from(s) == id
            UniqueId.from(s).asString() == s
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  7. src/cmd/link/internal/benchmark/bench.go

    }
    
    // makeBenchString makes a benchmark string consumable by Go's benchmarking tools.
    func makeBenchString(name string) string {
    	needCap := true
    	ret := []rune("Benchmark")
    	for _, r := range name {
    		if unicode.IsSpace(r) {
    			needCap = true
    			continue
    		}
    		if needCap {
    			r = unicode.ToUpper(r)
    			needCap = false
    		}
    		ret = append(ret, r)
    	}
    	return string(ret)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 30 18:10:36 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/ModelRuleBindingTest.groovy

            def cause = e.cause as ModelRuleBindingException
            def message = new AmbiguousBindingReporter(String.name, "parameter 1", [
                new AmbiguousBindingReporter.Provider("s2", methodDescriptor(ProvidesStringTwo, "s2").toString()),
                new AmbiguousBindingReporter.Provider("s1", methodDescriptor(ProvidesStringOne, "s1").toString()),
            ]).asString()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  9. analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/packages/KotlinPackageProviderBase.kt

        }
    
        override fun doesPlatformSpecificPackageExist(packageFqName: FqName, platform: TargetPlatform): Boolean {
            when {
                platform.isJvm() -> {
                    val fqNameString = packageFqName.asString()
                    forEachNonKotlinPsiElementFinder(project) { finder ->
                        val psiPackage = finder.findPackage(fqNameString)
                        if (psiPackage != null) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:44:50 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. maven-core/src/test/java/org/apache/maven/toolchain/DefaultToolchainManagerPrivateTest.java

    import org.mockito.InjectMocks;
    import org.mockito.Mock;
    import org.mockito.MockitoAnnotations;
    import org.slf4j.Logger;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.mockito.ArgumentMatchers.anyString;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.never;
    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.when;
    
    class DefaultToolchainManagerPrivateTest {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sat Apr 15 17:24:20 UTC 2023
    - 5.7K bytes
    - Viewed (0)
Back to top