Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for SplitN (0.19 sec)

  1. doc/go1.17_spec.html

    assigned the return values of <code>g</code> that remain after
    assignment of regular parameters.
    </p>
    
    <pre>
    func Split(s string, pos int) (string, string) {
    	return s[0:pos], s[pos:]
    }
    
    func Join(s, t string) string {
    	return s + t
    }
    
    if Join(Split(value, len(value)/2)) != value {
    	log.Panic("test fails")
    }
    </pre>
    
    <p>
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  2. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportAggregationWorkAction.kt

            val byCategory = mutableMapOf<String, ReportNameToProblems>()
            parameters.reports.files.sorted().forEach { file ->
                file.forEachLine(Charsets.UTF_8) {
                    val (version, _, problem) = it.split(';')
                    byCategory.getOrPut(toCategory(version, file.nameWithoutExtension)) {
                        mutableMapOf()
                    }.getOrPut(file.nameWithoutExtension) {
                        mutableSetOf()
    HTML
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Mon Jan 18 06:55:55 GMT 2021
    - 3.4K bytes
    - Viewed (0)
  3. doc/asm.html

    The linker will choose one of the duplicates to use.
    </li>
    <li>
    <code>NOSPLIT</code> = 4
    <br>
    (For <code>TEXT</code> items.)
    Don't insert the preamble to check if the stack must be split.
    The frame for the routine, plus anything it calls, must fit in the
    spare space remaining in the current stack segment.
    Used to protect routines such as the stack splitting code itself.
    </li>
    <li>
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  4. doc/go_spec.html

    assigned the return values of <code>g</code> that remain after
    assignment of regular parameters.
    </p>
    
    <pre>
    func Split(s string, pos int) (string, string) {
    	return s[0:pos], s[pos:]
    }
    
    func Join(s, t string) string {
    	return s + t
    }
    
    if Join(Split(value, len(value)/2)) != value {
    	log.Panic("test fails")
    }
    </pre>
    
    <p>
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 279.3K bytes
    - Viewed (0)
Back to top