Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for appendSlice (0.29 sec)

  1. src/cmd/vendor/golang.org/x/text/unicode/norm/normalize.go

    	return true
    }
    
    func appendQuick(rb *reorderBuffer, i int) int {
    	if rb.nsrc == i {
    		return i
    	}
    	end, _ := rb.f.quickSpan(rb.src, i, rb.nsrc, true)
    	rb.out = rb.src.appendSlice(rb.out, i, end)
    	return end
    }
    
    // Append returns f(append(out, b...)).
    // The buffer out must be nil, empty, or equal to f(out).
    func (f Form) Append(out []byte, src ...byte) []byte {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  2. src/vendor/golang.org/x/text/unicode/norm/normalize.go

    	return true
    }
    
    func appendQuick(rb *reorderBuffer, i int) int {
    	if rb.nsrc == i {
    		return i
    	}
    	end, _ := rb.f.quickSpan(rb.src, i, rb.nsrc, true)
    	rb.out = rb.src.appendSlice(rb.out, i, end)
    	return end
    }
    
    // Append returns f(append(out, b...)).
    // The buffer out must be nil, empty, or equal to f(out).
    func (f Form) Append(out []byte, src ...byte) []byte {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 16 22:26:23 UTC 2022
    - 14.9K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/walk/assign.go

    		}
    		var r ir.Node
    		switch {
    		case isAppendOfMake(call):
    			// x = append(y, make([]T, y)...)
    			r = extendSlice(call, init)
    		case call.IsDDD:
    			r = appendSlice(call, init) // also works for append(slice, string).
    		default:
    			r = walkAppend(call, init, as)
    		}
    		as.Y = r
    		if r.Op() == ir.OAPPEND {
    			r := r.(*ir.CallExpr)
    			// Left in place for back end.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:09:06 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  4. src/go/internal/gccgoimporter/testdata/v1reflect.gox

     func (v <type 1>) UnsafeAddr () <type -13>;
     func (v <type 1>) .reflect.assignTo (context <type -16>, dst <type 3>, target <type 57 *<type 58 interface { }>>) <type 1>;
    >, x ...<type 1>) <type 1>;
    func AppendSlice (s <type 1>, t <type 1>) <type 1>;
    const Array <type 28> = 17 ;
    const Bool <type 28> = 1 ;
    const BothDir <type 29> = 3 ;
    const Chan <type 28> = 18 ;
    type <type 29>;
    const Complex128 <type 28> = 16 ;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 30 21:33:51 UTC 2021
    - 10.3K bytes
    - Viewed (0)
  5. test/escape_reflect.go

    func append2(s, x []int) []int { // ERROR "leaking param: s$" "x does not escape"
    	sv := reflect.ValueOf(s) // ERROR "s escapes to heap"
    	xv := reflect.ValueOf(x) // ERROR "x does not escape"
    	rv := reflect.AppendSlice(sv, xv)
    	return rv.Interface().([]int)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 18:50:24 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  6. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/prettyPrintResults.kt

                        recurseDeeper(it)
                        appendLine()
                    }
                    appendIndented(")")
                }
                is ParsingError -> {
                    appendIndented("ParsingError(")
                    appendLine()
                    appendNextIndented("message = ${current.message},")
                    appendLine()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 22:06:18 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  7. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/symbols/DebugSymbolRenderer.kt

            withIndent {
                appendLine()
                renderProperty(KaCallableSymbol::callableId, printer, renderSymbolsFully = false, symbol)
                if (symbol is KaNamedSymbol) {
                    appendLine()
                    renderProperty(KaNamedSymbol::name, printer, renderSymbolsFully = false, symbol)
                }
                appendLine()
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/PrecompiledScriptPluginSyntheticIntegrationTest.kt

                appendLine("""println("STDOUT from $origin")""")
                appendLine("""System.err.println("STDERR from $origin")""")
                if (logger) {
                    appendLine("""logger.lifecycle("LIFECYCLE log from $origin")""")
                    appendLine("""logger.warn("WARN log from $origin")""")
                    appendLine("""logger.error("ERROR log from $origin")""")
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 07:16:19 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  9. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/testUtils.kt

            append(symbol.render(renderer))
            append(" fromClass ")
            append(containingDeclaration.classId?.asString())
            if (symbol.typeParameters.isNotEmpty()) {
                appendLine()
                withIndent {
                    printCollection(symbol.typeParameters, separator = "\n") { typeParameter ->
                        val containingDeclarationForTypeParameter = typeParameter.getContainingSymbol()
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 16:16:39 UTC 2024
    - 15.3K bytes
    - Viewed (0)
Back to top