Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 179 for Mystring (0.21 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/internal/types/testdata/spec/range.go

    		_, _ = mi, ms
    	}
    	for mi, ms := range f8 {
    		i, s = mi /* ERROR "cannot use mi (variable of type MyInt) as int value in assignment" */, ms /* ERROR "cannot use ms (variable of type MyString) as string value in assignment" */
    	}
    	for mi, ms = range f8 {
    		_, _ = mi, ms
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 26 04:31:42 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. src/reflect/all_test.go

    	{V(MyString("hello")), V(string("hello"))},
    	{V(string("hello")), V(MyString("hello"))},
    	{V(string("hello")), V(string("hello"))},
    	{V(MyString("hello")), V(MyString("hello"))},
    	{V(MyString("bytes1")), V([]byte("bytes1"))},
    	{V([]byte("bytes2")), V(MyString("bytes2"))},
    	{V([]byte("bytes3")), V([]byte("bytes3"))},
    	{V(MyString("runes♝")), V([]rune("runes♝"))},
    	{V([]rune("runes♕")), V(MyString("runes♕"))},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  7. doc/go_spec.html

    float64(-1e-1000)        // 0.0 of type float64
    string('x')              // "x" of type string
    string(0x266c)           // "♬" of type string
    myString("foo" + "bar")  // "foobar" of type myString
    string([]byte{'a'})      // not a constant: []byte{'a'} is not a constant
    (*int)(nil)              // not a constant: nil is not a constant, *int is not a boolean, numeric, or string type
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 21:07:21 UTC 2024
    - 281.5K bytes
    - Viewed (0)
  8. doc/go1.17_spec.html

    float64(-1e-1000)        // 0.0 of type float64
    string('x')              // "x" of type string
    string(0x266c)           // "♬" of type string
    MyString("foo" + "bar")  // "foobar" of type MyString
    string([]byte{'a'})      // not a constant: []byte{'a'} is not a constant
    (*int)(nil)              // not a constant: nil is not a constant, *int is not a boolean, numeric, or string type
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  9. src/runtime/string.go

    		b = b[len(x):]
    	}
    	return s
    }
    
    func concatstring2(buf *tmpBuf, a0, a1 string) string {
    	return concatstrings(buf, []string{a0, a1})
    }
    
    func concatstring3(buf *tmpBuf, a0, a1, a2 string) string {
    	return concatstrings(buf, []string{a0, a1, a2})
    }
    
    func concatstring4(buf *tmpBuf, a0, a1, a2, a3 string) string {
    	return concatstrings(buf, []string{a0, a1, a2, a3})
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/tests-gen/org/jetbrains/kotlin/analysis/api/fir/test/cases/generated/cases/components/resolver/FirIdeNormalAnalysisSourceModuleResolveCallTestGenerated.java

          }
    
          @Test
          @TestMetadata("MyString.kt")
          public void testMyString() {
            runTest("analysis/analysis-api/testData/components/resolver/singleByPsi/typeAlias/missingDependency/MyString.kt");
          }
    
          @Test
          @TestMetadata("NestedAsymmetricAliasOnlyResolveAsymmetricAlias.kt")
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 19:03:00 UTC 2024
    - 215.1K bytes
    - Viewed (0)
Back to top