Projectname large_stringclasses 15
values | Filepath large_stringlengths 4 106 ⌀ | Function large_stringlengths 11 3.45k | Label list |
|---|---|---|---|
Chromium | third_party/blink/renderer/core/style/computed_style.h | void SetScrollPaddingInlineStart(const Length &v) {
if (IsHorizontalWritingMode())
SetScrollPaddingLeft(v);
else
SetScrollPaddingTop(v);
} | [
1,
0
] |
Chromium | third_party/blink/renderer/core/style/computed_style.h | void SetScrollMarginBlockEnd(float v) {
if (IsHorizontalWritingMode())
SetScrollMarginBottom(v);
else
SetScrollMarginRight(v);
} | [
1,
0
] |
Chromium | third_party/blink/renderer/core/style/computed_style.h | void SetVerticalAlignLength(const Length &length) {
SetVerticalAlignInternal(static_cast<unsigned>(EVerticalAlign::kLength));
SetVerticalAlignLengthInternal(length);
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/style/computed_style.h | void SetHasAutoZIndex() {
SetHasAutoZIndexInternal(true);
SetZIndexInternal(0);
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/style/computed_style.h | void SetMaskBoxImageSource(StyleImage *v) {
MutableMaskBoxImageInternal().SetImage(v);
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/style/computed_style.h | void SetTextEmphasisMark(TextEmphasisMark mark) {
SetTextEmphasisMarkInternal(mark);
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/style/computed_style.h | void SetOrphans(int16_t o) { SetOrphansInternal(clampTo<int16_t>(o, 1)); } | [
0,
0
] |
Chromium | third_party/blink/renderer/core/style/computed_style.h | void SetWidows(int16_t w) { SetWidowsInternal(clampTo<int16_t>(w, 1)); } | [
0,
0
] |
Chromium | third_party/blink/renderer/core/style/computed_style.h | void SetY(const Length &y) { AccessSVGStyle().SetY(y); } | [
0,
0
] |
Chromium | third_party/blink/renderer/core/style/computed_style.h | void SetRx(const Length &rx) { AccessSVGStyle().SetRx(rx); } | [
0,
0
] |
Chromium | third_party/blink/renderer/core/style/computed_style.h | void SetRy(const Length &ry) { AccessSVGStyle().SetRy(ry); } | [
0,
0
] |
Chromium | third_party/blink/renderer/core/style/computed_style.h | void SetLightingColor(const StyleColor &c) {
AccessSVGStyle().SetLightingColor(c);
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/style/computed_style.h | void SetStrokeMiterLimit(float f) { AccessSVGStyle().SetStrokeMiterLimit(f); } | [
0,
0
] |
Chromium | third_party/blink/renderer/core/style/computed_style.h | void SetStrokeWidth(const UnzoomedLength &w) {
AccessSVGStyle().SetStrokeWidth(w);
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/style/computed_style.h | void SetAlignContentPosition(ContentPosition position) {
MutableAlignContentInternal().SetPosition(position);
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/style/computed_style.h | void SetAlignItemsOverflow(OverflowAlignment overflow) {
MutableAlignItemsInternal().SetOverflow(overflow);
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/style/computed_style.h | void SetJustifyItemsPosition(ItemPosition position) {
MutableJustifyItemsInternal().SetPosition(position);
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/style/computed_style.h | void SetJustifyItemsOverflow(OverflowAlignment overflow) {
MutableJustifyItemsInternal().SetOverflow(overflow);
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/style/computed_style.h | void SetJustifySelfOverflow(OverflowAlignment overflow) {
MutableJustifySelfInternal().SetOverflow(overflow);
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/style/computed_style.h | void SetMarginTop(const Length &v) {
if (MarginTop() != v) {
if (!v.IsZero() || v.IsAuto())
SetMayHaveMargin();
MutableMarginTopInternal() = v;
}
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/style/computed_style.h | void SetMarginBottom(const Length &v) {
if (MarginBottom() != v) {
if (!v.IsZero() || v.IsAuto())
SetMayHaveMargin();
MutableMarginBottomInternal() = v;
}
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/style/computed_style.h |
void ResetBorder() {
ResetBorderImage();
ResetBorderTop();
ResetBorderRight();
ResetBorderBottom();
ResetBorderLeft();
ResetBorderTopLeftRadius();
ResetBorderTopRightRadius();
ResetBorderBottomLeftRadius();
ResetBorderBottomRightRadius();
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/style/computed_style.h |
void ResetBorderTop() {
SetBorderTopStyle(EBorderStyle::kNone);
SetBorderTopWidth(3);
SetBorderTopColorInternal(StyleColor::CurrentColor());
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/style/computed_style.h | void ResetBorderLeft() {
SetBorderLeftStyle(EBorderStyle::kNone);
SetBorderLeftWidth(3);
SetBorderLeftColorInternal(StyleColor::CurrentColor());
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/style/computed_style.h |
void SetBorderRadius(const LengthSize &s) {
SetBorderTopLeftRadius(s);
SetBorderTopRightRadius(s);
SetBorderBottomLeftRadius(s);
SetBorderBottomRightRadius(s);
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/style/computed_style.h | void SetBorderRadius(const IntSize &s) {
SetBorderRadius(
LengthSize(Length::Fixed(s.Width()), Length::Fixed(s.Height())));
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/style/computed_style.h |
static bool BorderStyleIsVisible(EBorderStyle style) {
return style != EBorderStyle::kNone && style != EBorderStyle::kHidden;
} | [
1,
0
] |
Chromium | third_party/blink/renderer/core/style/computed_style.h | void SetInternalVisitedBackgroundColor(const StyleColor &v) {
SetInternalVisitedBackgroundColorInternal(v);
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/style/computed_style.h | void SetInternalVisitedOutlineColor(const StyleColor &v) {
SetInternalVisitedOutlineColorInternal(v);
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/style/computed_style.h | void SetInternalVisitedColumnRuleColor(const StyleColor &v) {
SetInternalVisitedColumnRuleColorInternal(v);
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/style/computed_style.h |
static bool IsDisplayFlexibleBox(EDisplay display) {
return display == EDisplay::kFlex || display == EDisplay::kInlineFlex;
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/style/computed_style.h |
static bool IsDisplayGridBox(EDisplay display) {
return display == EDisplay::kGrid || display == EDisplay::kInlineGrid;
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/style/computed_style.h |
static bool IsDisplayInlineType(EDisplay display) {
return display == EDisplay::kInline || IsDisplayReplacedType(display);
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/style/filter_operation.h |
inline bool
IsBasicColorMatrixFilterOperation(const FilterOperation &operation) {
FilterOperation::OperationType type = operation.GetType();
return type == FilterOperation::GRAYSCALE || type == FilterOperation::SEPIA ||
type == FilterOperation::SATURATE ||
type == FilterOperation::HUE_ROTATE;
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/svg/properties/svg_animated_property.h |
SVGPropertyBase *CreateAnimatedValue() override { return base_value_->Clone(); } | [
0,
0
] |
Chromium | third_party/blink/renderer/core/svg/properties/svg_list_property_helper.h | void Append(ItemPropertyType *new_item) {
SVGListPropertyBase::Append(new_item);
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/svg/svg_element.h | template <> inline bool IsElementOfType<const SVGElement>(const Node &node) {
return IsA<SVGElement>(node);
} | [
0,
0
] |
Chromium | third_party/blink/renderer/core/xml/xpath_grammar_generated.h | static symbol_type make_kAnd() { return symbol_type(token::kAnd); }
#endif
#if 201103L <= YY_CPLUSPLUS | [
0,
0
] |
Chromium | third_party/blink/renderer/core/xml/xpath_grammar_generated.h | static symbol_type make_kNodeType(String v) {
return symbol_type(token::kNodeType, std::move(v));
}
#else | [
0,
0
] |
Chromium | third_party/blink/renderer/core/xml/xpath_grammar_generated.h | static symbol_type make_kLiteral(const String &v) {
return symbol_type(token::kLiteral, v);
}
#endif
#if 201103L <= YY_CPLUSPLUS | [
0,
0
] |
Chromium | third_party/blink/renderer/core/xml/xpath_grammar_generated.h | static symbol_type make_kNumber(String v) {
return symbol_type(token::kNumber, std::move(v));
}
#else | [
0,
0
] |
Chromium | third_party/blink/renderer/core/xml/xpath_grammar_generated.h | static symbol_type make_kNumber(const String &v) {
return symbol_type(token::kNumber, v);
}
#endif
#if 201103L <= YY_CPLUSPLUS | [
0,
0
] |
Chromium | third_party/blink/renderer/core/xml/xpath_grammar_generated.h | static symbol_type make_kSlashSlash() {
return symbol_type(token::kSlashSlash);
}
#else | [
0,
0
] |
Chromium | third_party/blink/renderer/core/xml/xpath_grammar_generated.h | static symbol_type make_kXPathError() {
return symbol_type(token::kXPathError);
}
#else | [
0,
0
] |
Chromium | third_party/blink/renderer/modules/indexeddb/indexed_db_blink_mojom_traits.h | static int64_t
max_index_id(const scoped_refptr<blink::IDBObjectStoreMetadata> &metadata) {
return metadata->max_index_id;
} | [
0,
0
] |
Chromium | third_party/blink/renderer/modules/webgl/webgl_rendering_context_base.h | DrawingBuffer *GetDrawingBuffer() const; | [
0,
0
] |
Chromium | third_party/blink/renderer/modules/webgl/webgl_rendering_context_base.h | template <typename T> IntRect GetTextureSourceSize(T *texture_source) {
return IntRect(0, 0, texture_source->width(), texture_source->height());
} | [
0,
0
] |
Chromium | third_party/blink/renderer/platform/bindings/dom_data_store.h |
bool ContainsWrapper(const ScriptWrappable *object) {
if (is_main_world_)
return object->ContainsWrapper();
return wrapper_map_.find(object) != wrapper_map_.end();
} | [
0,
0
] |
Chromium | third_party/blink/renderer/platform/fonts/shaping/shape_cache.h |
void Clear() {
single_char_map_.clear();
short_string_map_.clear();
} | [
0,
0
] |
Chromium | third_party/blink/renderer/platform/geometry/layout_unit.h | static bool IsInBounds(unsigned value) {
return value <= static_cast<unsigned>(std::numeric_limits<int>::max()) /
kFixedPointDenominator;
} | [
1,
0
] |
Chromium | third_party/blink/renderer/platform/geometry/layout_unit.h | inline LayoutUnit BoundedMultiply(const LayoutUnit &a, const LayoutUnit &b) {
int64_t result = static_cast<int64_t>(a.RawValue()) *
static_cast<int64_t>(b.RawValue()) / kFixedPointDenominator;
int32_t high = static_cast<int32_t>(result >> 32);
int32_t low = static_cast<int32_t>(result);
uint3... | [
1,
0
] |
Chromium | third_party/blink/renderer/platform/geometry/layout_unit.h |
inline float operator*(const LayoutUnit &a, float b) { return a.ToFloat() * b; } | [
0,
0
] |
Chromium | third_party/blink/renderer/platform/geometry/layout_unit.h |
inline int FloorToInt(LayoutUnit value) { return value.Floor(); } | [
0,
0
] |
Chromium | third_party/blink/renderer/platform/geometry/length.h | static Length ExtendToZoom() { return Length(kExtendToZoom); } | [
0,
0
] |
Chromium | third_party/blink/renderer/platform/geometry/length.h |
void SetQuirk(bool quirk) { quirk_ = quirk; } | [
0,
0
] |
Chromium | third_party/blink/renderer/platform/graphics/paint/float_clip_rect.h | inline FloatClipRect InfiniteLooseFloatClipRect() {
FloatClipRect rect;
rect.ClearIsTight();
return rect;
} | [
0,
0
] |
Chromium | third_party/blink/renderer/platform/graphics/paint/geometry_mapper.h | template <typename Rect>
static void
SourceToDestinationRect(const TransformPaintPropertyNodeOrAlias &source,
const TransformPaintPropertyNodeOrAlias &destination,
Rect &mapping_rect) {
SourceToDestinationRect(source.Unalias(), destination.Unalias(),
... | [
0,
0
] |
Chromium | third_party/blink/renderer/platform/graphics/paint/geometry_mapper.h | template <typename Rect>
static void
SourceToDestinationRect(const TransformPaintPropertyNode &source,
const TransformPaintPropertyNode &destination,
Rect &mapping_rect) {
if (&source == &destination)
return;
// a 2d translation.
if (&destination == source.Pare... | [
1,
0
] |
Chromium | third_party/blink/renderer/platform/graphics/paint/geometry_mapper.h |
static FloatClipRect LocalToAncestorClipRect(
const PropertyTreeStateOrAlias &local_state,
const PropertyTreeStateOrAlias &ancestor_state,
OverlayScrollbarClipBehavior behavior = kIgnoreOverlayScrollbarSize) {
return LocalToAncestorClipRect(local_state.Unalias(),
ancestor... | [
0,
0
] |
Chromium | third_party/blink/renderer/platform/graphics/paint/paint_controller_test.h |
void CommitAndFinishCycle() {
paint_controller_->CommitNewDisplayItems();
paint_controller_->FinishCycle();
} | [
0,
0
] |
Chromium | third_party/blink/renderer/platform/heap/impl/persistent.h |
NO_SANITIZE_ADDRESS
void AssignSafe(T *ptr) {
typename PersistentMutexTraits<crossThreadnessConfiguration>::Locker lock;
AssignUnsafe(ptr);
} | [
0,
0
] |
Chromium | third_party/blink/renderer/platform/heap/impl/persistent.h |
void UninitializeSafe() {
if (persistent_node_.IsInitialized()) {
typename PersistentMutexTraits<crossThreadnessConfiguration>::Locker lock;
persistent_node_.Uninitialize();
}
} | [
0,
0
] |
Chromium | third_party/blink/renderer/platform/heap/impl/persistent.h |
static void ClearWeakPersistent(
PersistentBase<std::remove_const_t<T>, kWeakPersistentConfiguration,
kCrossThreadPersistentConfiguration> *persistent) {
PersistentMutexTraits<crossThreadnessConfiguration>::AssertAcquired();
persistent->ClearWithLockHeld();
} | [
0,
0
] |
Chromium | third_party/blink/renderer/platform/heap/impl/worklist.h | void Clear() {
for (int i = 0; i < kNumTasks; i++) {
private_pop_segment(i)->Clear();
private_push_segment(i)->Clear();
}
global_pool_.Clear();
} | [
0,
0
] |
Chromium | third_party/blink/renderer/platform/heap/impl/worklist.h |
ALWAYS_INLINE void PublishPushSegmentToGlobal(int task_id) {
if (!private_push_segment(task_id)->IsEmpty()) {
global_pool_.Push(private_push_segment(task_id));
private_push_segment(task_id) = NewSegment();
}
} | [
0,
0
] |
Chromium | third_party/blink/renderer/platform/mojo/security_origin_mojom_traits.h |
static void SetToNull(scoped_refptr<const ::blink::SecurityOrigin> *origin) {
*origin = nullptr;
} | [
0,
0
] |
Chromium | third_party/blink/renderer/platform/text/bidi_resolver.h |
TextDirection DirectionForCharacter(UChar32 character) {
WTF::unicode::CharDirection char_direction =
WTF::unicode::Direction(character);
if (char_direction == WTF::unicode::kRightToLeft ||
char_direction == WTF::unicode::kRightToLeftArabic)
return TextDirection::kRtl;
return TextDirection::kLtr;... | [
0,
0
] |
Chromium | third_party/blink/renderer/platform/wtf/hash_functions.h | inline unsigned HashInt(uint32_t key) {
key += ~(key << 15);
key ^= (key >> 10);
key += (key << 3);
key ^= (key >> 6);
key += ~(key << 11);
key ^= (key >> 16);
return key;
} | [
0,
0
] |
Chromium | third_party/blink/renderer/platform/wtf/hash_functions.h |
inline unsigned HashInt(uint16_t key16) {
uint32_t key = key16;
return HashInt(key);
} | [
0,
0
] |
Chromium | third_party/blink/renderer/platform/wtf/hash_map.h |
iterator begin() { return HashMapType::begin().Values(); } | [
0,
0
] |
Chromium | third_party/blink/renderer/platform/wtf/hash_table.h | iterator begin() { return IsEmpty() ? end() : MakeIterator(table_); } | [
0,
0
] |
Chromium | third_party/blink/renderer/platform/wtf/hash_table.h |
static bool IsEmptyBucket(const ValueType &value) {
return IsHashTraitsEmptyValue<KeyTraits>(Extractor::Extract(value));
} | [
0,
0
] |
Chromium | third_party/blink/renderer/platform/wtf/hash_table.h | static bool IsEmptyOrDeletedBucket(const ValueType &value) {
return HashTableHelper<ValueType, Extractor,
KeyTraits>::IsEmptyOrDeletedBucket(value);
} | [
0,
0
] |
Chromium | third_party/blink/renderer/platform/wtf/hash_table.h | ALWAYS_INLINE void LeaveAccessForbiddenScope() {} | [
0,
0
] |
Chromium | third_party/blink/renderer/platform/wtf/hash_table.h |
void SetEnqueued() { queue_flag_ = true; } | [
0,
0
] |
Chromium | third_party/blink/renderer/platform/wtf/hash_traits.h | static EmptyValueType EmptyValue() {
return KeyValuePair<typename KeyTraits::EmptyValueType,
typename ValueTraits::EmptyValueType>(
KeyTraits::EmptyValue(), ValueTraits::EmptyValue());
} | [
0,
0
] |
Chromium | third_party/blink/renderer/platform/wtf/hash_traits.h | static void ConstructDeletedValue(TraitType &slot, bool zero_value) {
KeyTraits::ConstructDeletedValue(slot.key, zero_value);
if (zero_value) {
ClearMemoryAtomicallyIfNeeded<typename ValueTraits::TraitType>::Clear(
&slot.value);
}
} | [
0,
0
] |
Chromium | third_party/blink/renderer/platform/wtf/list_hash_set.h |
bool InPool(Node *node) { return node >= Pool() && node < PastPool(); } | [
0,
0
] |
Chromium | third_party/blink/renderer/platform/wtf/list_hash_set.h |
void Destroy(NodeAllocator *allocator) {
if (NodeAllocator::kIsGarbageCollected)
return;
this->~ListHashSetNode();
allocator->Deallocate(this);
} | [
0,
0
] |
Chromium | third_party/blink/renderer/platform/wtf/list_hash_set.h | Node *GetNode() { return iterator_.node(); } | [
0,
0
] |
Chromium | third_party/blink/renderer/platform/wtf/math_extras.h | constexpr double deg2grad(double d) { return d * 400.0 / 360.0; } | [
0,
0
] |
Chromium | third_party/blink/renderer/platform/wtf/math_extras.h | constexpr double grad2deg(double g) { return g * 360.0 / 400.0; } | [
0,
0
] |
Chromium | third_party/blink/renderer/platform/wtf/math_extras.h | constexpr double turn2grad(double t) { return t * 400; } | [
0,
0
] |
Chromium | third_party/blink/renderer/platform/wtf/math_extras.h | constexpr float rad2deg(float r) { return r * 180.0f / kPiFloat; } | [
0,
0
] |
Chromium | third_party/blink/renderer/platform/wtf/math_extras.h | constexpr float grad2deg(float g) { return g * 360.0f / 400.0f; } | [
0,
0
] |
Chromium | third_party/blink/renderer/platform/wtf/math_extras.h | constexpr float deg2turn(float d) { return d / 360.0f; } | [
0,
0
] |
Chromium | third_party/blink/renderer/platform/wtf/math_extras.h | template <typename T> constexpr T defaultMinimumForClamp() {
return std::numeric_limits<T>::min();
} | [
0,
0
] |
Chromium | third_party/blink/renderer/platform/wtf/math_extras.h | template <> constexpr float defaultMinimumForClamp<float>() {
return -std::numeric_limits<float>::max();
} | [
1,
0
] |
Chromium | third_party/blink/renderer/platform/wtf/text/string_builder.h |
void EnsureBuffer16(unsigned added_size) {
if (is_8bit_ || !HasBuffer())
CreateBuffer16(added_size);
} | [
0,
0
] |
Chromium | third_party/blink/renderer/platform/wtf/text/string_builder.h |
template <typename CharType>
bool DeprecatedEqualIgnoringCase(const StringBuilder &s, const CharType *buffer,
unsigned length) {
if (s.length() != length)
return false;
if (s.Is8Bit())
return DeprecatedEqualIgnoringCase(s.Characters8(), buffer, length);
return Deprecate... | [
0,
0
] |
Chromium | third_party/blink/renderer/platform/wtf/text/string_builder.h | inline bool DeprecatedEqualIgnoringCase(const StringBuilder &s,
const char *string) {
return DeprecatedEqualIgnoringCase(s, reinterpret_cast<const LChar *>(string),
SafeCast<wtf_size_t>(strlen(string)));
} | [
0,
0
] |
Chromium | third_party/blink/renderer/platform/wtf/text/string_hasher.h | static unsigned HashMemory(const void *data, unsigned length) {
// FIXME: Why does this function use the version of the hash that drops the
// top 8 bits? We want that for all string hashing so we can use those
// bits in StringImpl and hash strings consistently, but I don't see why
// we'd want that for gener... | [
0,
1
] |
Chromium | third_party/blink/renderer/platform/wtf/text/string_hasher.h |
template <size_t length> static unsigned HashMemory(const void *data) {
static_assert(!(length % 2), "length must be a multiple of two");
return HashMemory(data, length);
} | [
0,
0
] |
Chromium | third_party/blink/renderer/platform/wtf/text/string_impl.h | void AssertHashIsCorrect() {
DCHECK(HasHash());
DCHECK_EQ(ExistingHash(),
StringHasher::ComputeHashAndMaskTop8Bits(Characters8(), length()));
}
#endif
#if DCHECK_IS_ON() | [
0,
0
] |
Chromium | third_party/blink/renderer/platform/wtf/text/string_impl.h | inline bool Equal(const StringImpl *a, const char *b) {
return Equal(a, reinterpret_cast<const LChar *>(b));
} | [
0,
0
] |
Chromium | third_party/blink/renderer/platform/wtf/text/string_impl.h |
ALWAYS_INLINE bool Equal(const UChar *a, const LChar *b, wtf_size_t length) {
return Equal(b, a, length);
} | [
0,
0
] |
Chromium | third_party/blink/renderer/platform/wtf/text/string_impl.h | inline wtf_size_t Find(const LChar *characters, wtf_size_t length,
LChar match_character, wtf_size_t index = 0) {
if (index >= length)
return kNotFound;
const LChar *found = static_cast<const LChar *>(
memchr(characters + index, match_character, length - index));
return found ? s... | [
0,
0
] |
Chromium | third_party/blink/renderer/platform/wtf/text/string_impl.h |
inline wtf_size_t ReverseFind(const LChar *characters, wtf_size_t length,
UChar match_character,
wtf_size_t index = UINT_MAX) {
if (match_character & ~0xFF)
return kNotFound;
return ReverseFind(characters, length, static_cast<LChar>(match_character),
... | [
0,
0
] |
Chromium | third_party/blink/renderer/platform/wtf/text/string_impl.h | static inline bool IsSpaceOrNewline(UChar c) {
// This will include newlines, which aren't included in Unicode DirWS.
return c <= 0x7F
? WTF::IsASCIISpace(c)
: WTF::unicode::Direction(c) == WTF::unicode::kWhiteSpaceNeutral;
} | [
0,
0
] |
Chromium | third_party/blink/renderer/platform/wtf/text/wtf_string.h |
template <typename IntegerType> static String Number(IntegerType number) {
IntegerToStringConverter<IntegerType> converter(number);
return StringImpl::Create(converter.Characters8(), converter.length());
} | [
0,
0
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.