Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 47 for Mystring (0.11 sec)

  1. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/types/KtType.kt

         *
         * ```
         * typealias MyString = String
         * typealias MyList<A> = List<A>
         *
         * val list: MyList<MyString> = listOf()
         * ```
         *
         * `MyList<MyString>` may be expanded to a type `List<String>` with an abbreviated type `MyList<String>`, where `String` also has the
         * abbreviated type `MyString`. The abbreviated type is not `MyList<MyString>`, although it might be rendered as such.
         *
         *
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Jun 10 20:18:28 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. src/reflect/type_test.go

    	"testing"
    )
    
    func TestTypeFor(t *testing.T) {
    	type (
    		mystring string
    		myiface  interface{}
    	)
    
    	testcases := []struct {
    		wantFrom any
    		got      reflect.Type
    	}{
    		{new(int), reflect.TypeFor[int]()},
    		{new(int64), reflect.TypeFor[int64]()},
    		{new(string), reflect.TypeFor[string]()},
    		{new(mystring), reflect.TypeFor[mystring]()},
    		{new(any), reflect.TypeFor[any]()},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 23:39:44 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. src/runtime/testdata/testprog/panicprint.go

    type MyInt32 int32
    type MyInt64 int64
    type MyString string
    type MyUint uint
    type MyUint8 uint8
    type MyUint16 uint16
    type MyUint32 uint32
    type MyUint64 uint64
    type MyUintptr uintptr
    
    func panicCustomComplex64() {
    	panic(MyComplex64(0.11 + 3i))
    }
    
    func panicCustomComplex128() {
    	panic(MyComplex128(32.1 + 10i))
    }
    
    func panicCustomString() {
    	panic(MyString("Panic\nline two"))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:10:41 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. src/runtime/panic_test.go

    // when the underlying kind is directly printable.
    // Issue: https://golang.org/issues/37531
    func TestPanicWithDirectlyPrintableCustomTypes(t *testing.T) {
    	tests := []struct {
    		name            string
    		wantPanicPrefix string
    	}{
    		{"panicCustomBool", `panic: main.MyBool(true)`},
    		{"panicCustomComplex128", `panic: main.MyComplex128(+3.210000e+001+1.000000e+001i)`},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:10:41 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/stringintconv/string.go

    // necessary so that we can use alias type names that may not be reachable from
    // inType itself).
    func describe(typ, inType types.Type, inName string) string {
    	name := inName
    	if typ != inType {
    		name = typeName(typ)
    	}
    	if name == "" {
    		return ""
    	}
    
    	var parentheticals []string
    	if underName := typeName(typ.Underlying()); underName != "" && underName != name {
    		parentheticals = append(parentheticals, underName)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  6. maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelVersionParser.java

            public int hashCode() {
                return delegate.hashCode();
            }
    
            @Override
            public String asString() {
                return delegate.toString();
            }
    
            @Override
            public String toString() {
                return asString();
            }
        }
    
        static class DefaultVersionRange implements VersionRange {
            private final VersionScheme versionScheme;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue May 21 09:54:32 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  7. platforms/core-runtime/logging/src/main/java/org/gradle/util/TextUtil.java

        }
    
        private static String replaceLineSeparatorsInternalOf(CharSequence string, String bySeparator) {
            logDeprecation();
            return replaceAll("\r\n|\r|\n", string, bySeparator);
        }
    
        private static String replaceAll(String regex, CharSequence inString, String byString) {
            return replaceAll(Pattern.compile(regex), inString, byString);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultModelVersionParser.java

            public int hashCode() {
                return delegate.hashCode();
            }
    
            @Override
            public String asString() {
                return delegate.toString();
            }
    
            @Override
            public String toString() {
                return asString();
            }
        }
    
        static class DefaultVersionRange implements VersionRange {
            private final VersionScheme versionScheme;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  9. platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/DevelocityPluginBuildStateIntegrationTest.groovy

                        assert buildState.buildInvocationId == services.get(${BuildInvocationScopeId.name}).id.asString()
                        assert buildState.workspaceId == services.get(${WorkspaceScopeId.name}).id.asString()
                        assert buildState.userId == services.get(${UserScopeId.name}).id.asString()
    
                        assert (buildState.daemonScanInfo != null) == ${GradleContextualExecuter.isDaemon()}
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 10:49:16 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10TypeCreator.kt

            if (descriptor == null) {
                val name = when (builder) {
                    is KaClassTypeBuilder.ByClassId -> builder.classId.asString()
                    is KaClassTypeBuilder.BySymbol ->
                        builder.symbol.classId?.asString()
                            ?: builder.symbol.name?.asString()
                            ?: SpecialNames.ANONYMOUS_STRING
                }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Jun 10 20:18:28 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top