Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/gfx/skia/skia/src/core/   (Firefox Browser Version 153.0.1©)  Datei vom 27.6.2026 mit Größe 828 B image not shown  

Quelle  SkSpanPriv.h

  Sprache: C
 

/*
 * Copyright 2025 Google LLC
 *
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */


#ifndef SkSpanPriv_DEFINED
#define SkSpanPriv_DEFINED

#include "include/core/SkSpan.h"
#include "include/private/base/SkMalloc.h"

#include <algorithm>

class SkSpanPriv {
public:
    template <typename T> static bool EQ(SkSpan<T> a, SkSpan<T> b) {
        if (a.size() != b.size()) {
            return false;
        }
        if (a.empty()) {
            return true;
        }
        return (a.data() == b.data()) || std::equal(a.begin(), a.end(), b.begin());
    }

    template <typename T> static void Copy(SkSpan<T> dst, SkSpan<const T> src) {
        SkASSERT(dst.size() == src.size());
        sk_careful_memcpy(dst.data(), src.data(), src.size_bytes());
    }
};

#endif

Messung V0.5 in Prozent
C=95 H=99 G=96

¤ Dauer der Verarbeitung: 0.9 Sekunden  (vorverarbeitet am  2026-08-26) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.