Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for RawString (0.14 sec)

  1. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/Swift5XCTest.groovy

                    return [testCase("testRawString",
                        '''let value = 42
                            let rawString = #"Raw string are ones with "quotes", backslash (\\), but can do special string interpolation (\\#(value))"#
                            XCTAssertEqual(rawString, "Raw string are ones with \\"quotes\\", backslash (\\\\), but can do special string interpolation (42)")''')]
                }
            }]
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  2. src/reflect/benchmark_test.go

    }
    
    var sinkAll struct {
    	RawBool   bool
    	RawString string
    	RawBytes  []byte
    	RawInt    int
    }
    
    func BenchmarkBool(b *testing.B) {
    	for i := 0; i < b.N; i++ {
    		sinkAll.RawBool = sourceAll.Bool.Bool()
    	}
    }
    
    func BenchmarkString(b *testing.B) {
    	for i := 0; i < b.N; i++ {
    		sinkAll.RawString = sourceAll.String.String()
    	}
    }
    
    func BenchmarkBytes(b *testing.B) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Nov 19 17:09:03 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/lex/lex.go

    	case scanner.Int:
    		return "integer constant"
    	case scanner.Float:
    		return "float constant"
    	case scanner.Char:
    		return "rune constant"
    	case scanner.String:
    		return "string constant"
    	case scanner.RawString:
    		return "raw string constant"
    	case scanner.Comment:
    		return "comment"
    	default:
    		return fmt.Sprintf("%q", rune(t))
    	}
    }
    
    // NewLexer returns a lexer for the named file and the given link context.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 18:31:05 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  4. src/go/internal/gccgoimporter/importer_test.go

    	{pkgpath: "nointerface", name: "I", want: "type I int"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 15 20:17:57 UTC 2022
    - 7.2K bytes
    - Viewed (0)
Back to top