Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 60 for appendSlice (0.22 sec)

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

    	if in.bytes == nil {
    		for ; p < len(in.str) && !utf8.RuneStart(in.str[p]); p++ {
    		}
    	} else {
    		for ; p < len(in.bytes) && !utf8.RuneStart(in.bytes[p]); p++ {
    		}
    	}
    	return p
    }
    
    func (in *input) appendSlice(buf []byte, b, e int) []byte {
    	if in.bytes != nil {
    		return append(buf, in.bytes[b:e]...)
    	}
    	for i := b; i < e; i++ {
    		buf = append(buf, in.str[i])
    	}
    	return buf
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 20:28:54 UTC 2019
    - 2K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/text/unicode/norm/input.go

    	if in.bytes == nil {
    		for ; p < len(in.str) && !utf8.RuneStart(in.str[p]); p++ {
    		}
    	} else {
    		for ; p < len(in.bytes) && !utf8.RuneStart(in.bytes[p]); p++ {
    		}
    	}
    	return p
    }
    
    func (in *input) appendSlice(buf []byte, b, e int) []byte {
    	if in.bytes != nil {
    		return append(buf, in.bytes[b:e]...)
    	}
    	for i := b; i < e; i++ {
    		buf = append(buf, in.str[i])
    	}
    	return buf
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. operator/pkg/util/reflect.go

    		return fmt.Errorf("deleteFromSlicePtr parent type is %T, must be *[]interface{}", parentSlice)
    	}
    
    	pvv := pv.Elem()
    	if pvv.Kind() == reflect.Interface {
    		pvv = pvv.Elem()
    	}
    
    	pv.Elem().Set(reflect.AppendSlice(pvv.Slice(0, index), pvv.Slice(index+1, pvv.Len())))
    
    	return nil
    }
    
    // UpdateSlicePtr updates an entry at index in the parent, which must be a slice ptr, with the given value.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 8.6K bytes
    - Viewed (0)
  4. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/substututorFactory/AbstractSubstitutorBuilderTest.kt

                prettyPrint {
                    appendLine("${KtDeclaration::class.simpleName}: ${declaration::class.simpleName}")
    
                    appendLine("Symbol:")
                    appendLine(symbol.render(KaDeclarationRendererForDebug.WITH_QUALIFIED_NAMES))
    
                    appendLine()
    
                    appendLine("Substitutor:")
                    appendLine(stringRepresentation(substitutor))
    
                    appendLine()
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/importOptimizer/AbstractAnalysisApiImportOptimizerTest.kt

                    .mapValues { (_, importedNames) -> importedNames.sorted() }
    
                appendLine("USED DECLARATIONS:")
                for ((path, elements) in sortedUsedDeclarations) {
                    appendLine()
                    appendLine("Declaration: $path")
                    appendLine("By names: $elements")
                }
    
                appendLine()
    
                val sortedUnresolvedNames = importsAnalysis.unresolvedNames.sorted()
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Mar 27 16:04:54 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/symbols/AbstractMultiModuleSymbolByPsiTest.kt

                        debugPrinter.appendLine(debugRenderer.render(analysisSession, symbol))
                        debugPrinter.appendLine()
    
                        prettyPrinter.withIndents(indentCount = declaration.parentsOfType<KtDeclaration>(withSelf = false).count()) {
                            prettyPrinter.appendLine(symbol.render(KaDeclarationRendererForDebug.WITH_QUALIFIED_NAMES))
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/scopeProvider/AbstractTypeScopeTest.kt

                    appendLine("Expression: ${expression.text}")
                    appendLine("${KaType::class.simpleName}: ${type.render(position = Variance.INVARIANT)}")
                    appendLine()
                    appendLine("${KaTypeScope::class.simpleName}:")
                    appendLine(typeScope?.let { renderForTests(it) } ?: "NO_SCOPE")
                    appendLine()
    
                    appendLine("Declaration Scope:")
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 17:43:55 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/symbolInfoProvider/AbstractAnnotationApplicableTargetsTest.kt

                buildString {
                    appendLine("${KtAnnotationEntry::class.simpleName}: ${annotationEntry.text}")
                    appendLine()
                    appendLine("Resolved annotation symbol:")
                    appendLine(annotationClassSymbol.render(KtDeclarationRendererForDebug.WITH_QUALIFIED_NAMES))
                    appendLine()
                    appendLine("Applicable targets: $applicableTargetsInOrder")
                }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 08:26:19 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/dom/DomTestUtil.kt

                            appendLine()
                            visitValue(value, indent + 1)
                        }
                        if (documentNode.content.isNotEmpty()) {
                            appendLine()
                            documentNode.content.forEach { visitDocumentNode(it, indent + 1) }
                        } else {
                            appendLine()
                        }
                    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:10 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/types/AbstractAnalysisApiSubstitutorsTest.kt

                prettyPrint {
                    appendLine("PSI type: ${declaration.typeReference?.text}")
                    appendLine("${KaType::class.simpleName}: ${type.render(position = Variance.INVARIANT)}")
                    appendLine("substitutor.substitute: ${substituted.render(position = Variance.INVARIANT)}")
                    appendLine("substitutor.substituteOrNull: ${substitutedOrNull?.render(position = Variance.INVARIANT)}")
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 17:43:55 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top