Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 105 for appendTime (0.15 sec)

  1. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/annotations/AbstractAnalysisApiSpecificAnnotationOnDeclarationTest.kt

                val classId = ClassId.fromString(classIdString)
                val renderer = DebugSymbolRenderer()
                fun renderAnnotation(application: KaAnnotation): String = buildString {
                    appendLine("${KtDeclaration::class.simpleName}: ${ktDeclaration::class.simpleName} ${ktDeclaration.name}")
                    append(renderer.renderAnnotationApplication(analysisSession, application))
                }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/annotations/AbstractAnalysisApiAnnotationsOnDeclarationsTest.kt

            val actual = analyseForTest(ktDeclaration) {
                val declarationSymbol = ktDeclaration.getSymbol() as KaAnnotatedSymbol
                buildString {
                    appendLine("${KtDeclaration::class.simpleName}: ${ktDeclaration::class.simpleName} ${ktDeclaration.name}")
                    append(renderAnnotations(analysisSession, declarationSymbol.annotations))
                }
            }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/scopeProvider/AbstractScopeContextForPositionTest.kt

            }
        }
    
        private fun KaSession.renderForTests(
            element: KtElement,
            scopeContext: KaScopeContext,
            printPretty: Boolean = false,
        ): String = prettyPrint {
            appendLine("element: ${element.text}")
            renderForTests(analysisSession, scopeContext, this@prettyPrint, printPretty) { scopeKind ->
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. cmd/storage-rest-common.go

    	storageRESTVersionPrefix = SlashSeparator + storageRESTVersion
    	storageRESTPrefix        = minioReservedBucketPath + "/storage"
    )
    
    const (
    	storageRESTMethodHealth = "/health"
    
    	storageRESTMethodAppendFile     = "/appendfile"
    	storageRESTMethodCreateFile     = "/createfile"
    	storageRESTMethodWriteAll       = "/writeall"
    	storageRESTMethodReadVersion    = "/readversion"
    	storageRESTMethodReadXL         = "/readxl"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. cmd/bitrot-whole.go

    	volume    string
    	filePath  string
    	shardSize int64 // This is the shard size of the erasure logic
    	hash.Hash       // For bitrot hash
    }
    
    func (b *wholeBitrotWriter) Write(p []byte) (int, error) {
    	err := b.disk.AppendFile(context.TODO(), b.volume, b.filePath, p)
    	if err != nil {
    		return 0, err
    	}
    	_, err = b.Hash.Write(p)
    	if err != nil {
    		return 0, err
    	}
    	return len(p), nil
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jan 31 02:11:45 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. 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)
  7. cmd/storage-interface.go

    	ListDir(ctx context.Context, origvolume, volume, dirPath string, count int) ([]string, error)
    	ReadFile(ctx context.Context, volume string, path string, offset int64, buf []byte, verifier *BitrotVerifier) (n int64, err error)
    	AppendFile(ctx context.Context, volume string, path string, buf []byte) (err error)
    	CreateFile(ctx context.Context, origvolume, olume, path string, size int64, reader io.Reader) error
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 5K bytes
    - Viewed (0)
  8. cmd/naughty-disk_test.go

    		return err
    	}
    	return d.disk.CreateFile(ctx, origvolume, volume, path, size, reader)
    }
    
    func (d *naughtyDisk) AppendFile(ctx context.Context, volume string, path string, buf []byte) error {
    	if err := d.calcError(); err != nil {
    		return err
    	}
    	return d.disk.AppendFile(ctx, volume, path, buf)
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  9. src/cmd/go/internal/work/build.go

    func libname(args []string, pkgs []*load.Package) (string, error) {
    	var libname string
    	appendName := func(arg string) {
    		if libname == "" {
    			libname = arg
    		} else {
    			libname += "," + arg
    		}
    	}
    	var haveNonMeta bool
    	for _, arg := range args {
    		if search.IsMetaPackage(arg) {
    			appendName(arg)
    		} else {
    			haveNonMeta = true
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 17:22:59 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  10. cmd/erasure-encode_test.go

    	"context"
    	"crypto/rand"
    	"io"
    	"testing"
    
    	"github.com/dustin/go-humanize"
    )
    
    type badDisk struct{ StorageAPI }
    
    func (a badDisk) String() string {
    	return "bad-disk"
    }
    
    func (a badDisk) AppendFile(ctx context.Context, volume string, path string, buf []byte) error {
    	return errFaultyDisk
    }
    
    func (a badDisk) ReadFileStream(ctx context.Context, volume, path string, offset, length int64) (io.ReadCloser, error) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 11.9K bytes
    - Viewed (0)
Back to top