/dports/www/grafana8/grafana-8.3.6/packages/grafana-ui/src/utils/ |
H A D | squares.ts | 11 parentWidth: number, 16 const vertical = calculateSizeOfChild(parentWidth, parentHeight, numberOfChildren); 17 const horizontal = calculateSizeOfChild(parentHeight, parentWidth, numberOfChildren); 19 let xCount = Math.floor(parentWidth / square); 26 const widthOnLastRow = parentWidth / itemsOnLastRow - itemSpacing + itemSpacing / itemsOnLastRow; 29 width: parentWidth / xCount - itemSpacing + itemSpacing / xCount, 37 function calculateSizeOfChild(parentWidth: number, parentHeight: number, numberOfChildren: number):… 38 const parts = Math.ceil(Math.sqrt((numberOfChildren * parentWidth) / parentHeight)); 40 if (Math.floor((parts * parentHeight) / parentWidth) * parts < numberOfChildren) { 41 return parentHeight / Math.ceil((parts * parentHeight) / parentWidth); [all …]
|
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/google/flatbuffers/ts/flexbuffers/ |
H A D | reference.ts | 19 const parentWidth = fromByteWidth(byteWidth); constant 22 return new Reference(dataView, offset, parentWidth, packedType, "/") 46 return readInt(this.dataView, this.offset, this.parentWidth) > 0; 53 return readInt(this.dataView, this.offset, this.parentWidth); 56 return readUInt(this.dataView, this.offset, this.parentWidth); 69 return readFloat(this.dataView, this.offset, this.parentWidth); 81 const begin = indirect(this.dataView, this.offset, this.parentWidth); 89 const begin = indirect(this.dataView, this.offset, this.parentWidth); 101 const _indirect = indirect(this.dataView, this.offset, this.parentWidth); 136 const _indirect = indirect(this.dataView, this.offset, this.parentWidth); [all …]
|
H A D | reference-util.ts | 67 export function keyIndex(key: string, dataView: DataView, offset: number, parentWidth: number, byte… 69 const keysVectorOffset = indirect(dataView, offset, parentWidth) - byteWidth * 3; 100 …ithKey(index: number, key: string, dataView: DataView, offset: number, parentWidth: number, byteWi… 101 const _indirect = indirect(dataView, offset, parentWidth); 107 export function keyForIndex(index: number, dataView: DataView, offset: number, parentWidth: number,… 108 const keysVectorOffset = indirect(dataView, offset, parentWidth) - byteWidth * 3;
|
/dports/devel/flatbuffers/flatbuffers-2.0.0/ts/flexbuffers/ |
H A D | reference.ts | 19 const parentWidth = fromByteWidth(byteWidth); constant 22 return new Reference(dataView, offset, parentWidth, packedType, "/") 46 return readInt(this.dataView, this.offset, this.parentWidth) > 0; 53 return readInt(this.dataView, this.offset, this.parentWidth); 56 return readUInt(this.dataView, this.offset, this.parentWidth); 69 return readFloat(this.dataView, this.offset, this.parentWidth); 81 const begin = indirect(this.dataView, this.offset, this.parentWidth); 89 const begin = indirect(this.dataView, this.offset, this.parentWidth); 101 const _indirect = indirect(this.dataView, this.offset, this.parentWidth); 136 const _indirect = indirect(this.dataView, this.offset, this.parentWidth); [all …]
|
H A D | reference-util.ts | 67 export function keyIndex(key: string, dataView: DataView, offset: number, parentWidth: number, byte… 69 const keysVectorOffset = indirect(dataView, offset, parentWidth) - byteWidth * 3; 100 …ithKey(index: number, key: string, dataView: DataView, offset: number, parentWidth: number, byteWi… 101 const _indirect = indirect(dataView, offset, parentWidth); 107 export function keyForIndex(index: number, dataView: DataView, offset: number, parentWidth: number,… 108 const keysVectorOffset = indirect(dataView, offset, parentWidth) - byteWidth * 3;
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/flatbuffers/src/java/com/google/flatbuffers/ |
H A D | FlexBuffers.java | 229 private int parentWidth; field in FlexBuffers.Reference 240 this.parentWidth = parentWidth; in Reference() 368 return readInt(bb, end, parentWidth); in asInt() 373 … case FBT_INDIRECT_UINT: return (int) readUInt(bb, indirect(bb, end, parentWidth), parentWidth); in asInt() 397 return readUInt(bb, end, parentWidth); in asUInt() 404 …ase FBT_INDIRECT_FLOAT: return (long) readDouble(bb, indirect(bb, end, parentWidth), parentWidth); in asUInt() 426 return readLong(bb, end, parentWidth); in asLong() 431 … case FBT_INDIRECT_UINT: return readUInt(bb, indirect(bb, end, parentWidth), parentWidth); in asLong() 459 return readDouble(bb, end, parentWidth); in asFloat() 466 return readUInt(bb, end, parentWidth); in asFloat() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/flatbuffers/src/java/com/google/flatbuffers/ |
H A D | FlexBuffers.java | 216 private int parentWidth; field in FlexBuffers.Reference 227 this.parentWidth = parentWidth; in Reference() 356 return readInt(bb, end, parentWidth); in asInt() 361 … case FBT_INDIRECT_UINT: return (int) readUInt(bb, indirect(bb, end, parentWidth), parentWidth); in asInt() 385 return readUInt(bb, end, parentWidth); in asUInt() 392 …ase FBT_INDIRECT_FLOAT: return (long) readDouble(bb, indirect(bb, end, parentWidth), parentWidth); in asUInt() 414 return readLong(bb, end, parentWidth); in asLong() 419 … case FBT_INDIRECT_UINT: return readUInt(bb, indirect(bb, end, parentWidth), parentWidth); in asLong() 447 return readDouble(bb, end, parentWidth); in asFloat() 454 return readUInt(bb, end, parentWidth); in asFloat() [all …]
|
/dports/devel/flatbuffers/flatbuffers-2.0.0/java/com/google/flatbuffers/ |
H A D | FlexBuffers.java | 229 private int parentWidth; field in FlexBuffers.Reference 240 this.parentWidth = parentWidth; in Reference() 368 return readInt(bb, end, parentWidth); in asInt() 373 … case FBT_INDIRECT_UINT: return (int) readUInt(bb, indirect(bb, end, parentWidth), parentWidth); in asInt() 397 return readUInt(bb, end, parentWidth); in asUInt() 404 …ase FBT_INDIRECT_FLOAT: return (long) readDouble(bb, indirect(bb, end, parentWidth), parentWidth); in asUInt() 426 return readLong(bb, end, parentWidth); in asLong() 431 … case FBT_INDIRECT_UINT: return readUInt(bb, indirect(bb, end, parentWidth), parentWidth); in asLong() 459 return readDouble(bb, end, parentWidth); in asFloat() 466 return readUInt(bb, end, parentWidth); in asFloat() [all …]
|
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/google/flatbuffers/java/com/google/flatbuffers/ |
H A D | FlexBuffers.java | 229 private int parentWidth; field in FlexBuffers.Reference 240 this.parentWidth = parentWidth; in Reference() 368 return readInt(bb, end, parentWidth); in asInt() 373 … case FBT_INDIRECT_UINT: return (int) readUInt(bb, indirect(bb, end, parentWidth), parentWidth); in asInt() 397 return readUInt(bb, end, parentWidth); in asUInt() 404 …ase FBT_INDIRECT_FLOAT: return (long) readDouble(bb, indirect(bb, end, parentWidth), parentWidth); in asUInt() 426 return readLong(bb, end, parentWidth); in asLong() 431 … case FBT_INDIRECT_UINT: return readUInt(bb, indirect(bb, end, parentWidth), parentWidth); in asLong() 459 return readDouble(bb, end, parentWidth); in asFloat() 466 return readUInt(bb, end, parentWidth); in asFloat() [all …]
|
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/google/flatbuffers/kotlin/flatbuffers-kotlin/src/commonMain/kotlin/com/google/flatbuffers/kotlin/ |
H A D | FlexBuffers.kt | 44 internal val parentWidth: ByteWidth, constant in com.google.flatbuffers.kotlin.Reference 246 T_INT -> buffer.readInt(end, parentWidth).toFloat() in pos() 247 T_UINT, T_BOOL -> buffer.readUInt(end, parentWidth).toFloat() in pos() 281 T_KEY -> Key(buffer, buffer.indirect(end, parentWidth)) in toKey() 290 val start = buffer.indirect(end, parentWidth) in toString() 294 T_KEY -> buffer.getKeyString(buffer.indirect(end, parentWidth)) in toString() 460 isVector -> Vector(buffer, buffer.indirect(end, parentWidth), byteWidth) in toVector() 482 T_MAP -> Map(buffer, buffer.indirect(end, parentWidth), byteWidth) in toMap() 490 block(end, parentWidth) in resolve() 500 parentWidth != other.parentWidth || in equals() [all …]
|
/dports/devel/flatbuffers/flatbuffers-2.0.0/kotlin/flatbuffers-kotlin/src/commonMain/kotlin/com/google/flatbuffers/kotlin/ |
H A D | FlexBuffers.kt | 44 internal val parentWidth: ByteWidth, constant in com.google.flatbuffers.kotlin.Reference 246 T_INT -> buffer.readInt(end, parentWidth).toFloat() in pos() 247 T_UINT, T_BOOL -> buffer.readUInt(end, parentWidth).toFloat() in pos() 281 T_KEY -> Key(buffer, buffer.indirect(end, parentWidth)) in toKey() 290 val start = buffer.indirect(end, parentWidth) in toString() 294 T_KEY -> buffer.getKeyString(buffer.indirect(end, parentWidth)) in toString() 460 isVector -> Vector(buffer, buffer.indirect(end, parentWidth), byteWidth) in toVector() 482 T_MAP -> Map(buffer, buffer.indirect(end, parentWidth), byteWidth) in toMap() 490 block(end, parentWidth) in resolve() 500 parentWidth != other.parentWidth || in equals() [all …]
|
/dports/graphics/gwenview/gwenview-21.12.3/lib/ |
H A D | graphicswidgetfloater.cpp | 55 int parentWidth, parentHeight; in updateChildGeometry() local 60 parentWidth = mParent->size().width(); in updateChildGeometry() 63 if (parentWidth == 0 || parentHeight == 0) { in updateChildGeometry() 70 posX = (parentWidth - childWidth) / 2; in updateChildGeometry() 73 childWidth = parentWidth - 2 * mHorizontalMargin; in updateChildGeometry() 75 posX = parentWidth - childWidth - mHorizontalMargin; in updateChildGeometry()
|
H A D | widgetfloater.cpp | 56 int parentWidth, parentHeight; in updateChildGeometry() local 61 parentWidth = mParent->width(); in updateChildGeometry() 67 posX = (parentWidth - childWidth) / 2; in updateChildGeometry() 70 childWidth = parentWidth - 2 * mHorizontalMargin; in updateChildGeometry() 75 posX = parentWidth - childWidth - mHorizontalMargin; in updateChildGeometry()
|
/dports/x11/xfce4-dashboard/xfdashboard-0.8.1/libxfdashboard/ |
H A D | fill-box-layout.c | 89 gfloat parentWidth, parentHeight; in _xfdashboard_fill_box_layout_get_largest_sizes() local 152 largestMinWidth=parentWidth; in _xfdashboard_fill_box_layout_get_largest_sizes() 156 largestNaturalWidth=parentWidth; in _xfdashboard_fill_box_layout_get_largest_sizes() 161 largestMinWidth=parentWidth; in _xfdashboard_fill_box_layout_get_largest_sizes() 162 largestNaturalWidth=parentWidth; in _xfdashboard_fill_box_layout_get_largest_sizes() 317 minWidth=parentWidth; in _xfdashboard_fill_box_layout_get_sizes_for_all() 321 naturalWidth=parentWidth; in _xfdashboard_fill_box_layout_get_sizes_for_all() 326 minWidth=parentWidth; in _xfdashboard_fill_box_layout_get_sizes_for_all() 327 naturalWidth=parentWidth; in _xfdashboard_fill_box_layout_get_sizes_for_all() 458 w=parentWidth; in _xfdashboard_fill_box_layout_allocate() [all …]
|
/dports/audio/praat/praat-6.2.03/sys/ |
H A D | GuiControl.cpp | 38 gint parentWidth, parentHeight; 39 gtk_widget_get_size_request (GTK_WIDGET (parent -> d_widget), & parentWidth, & parentHeight); 44 if (left < 0) left += parentWidth; 45 if (right <= 0) right += parentWidth; 48 trace (U"fixed: parent width ", parentWidth, U" height ", parentHeight); 79 int parentWidth = parentRect.size.width; 99 if (left < 0) left += parentWidth; 100 if (right <= 0) right += parentWidth;
|
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/java.desktop/windows/native/libawt/windows/ |
H A D | awt_ScrollPane.cpp | 58 jint parentWidth; member 215 parentWidth -= (horzBorder * 2); in RecalcSizes() 225 childWidth > parentWidth)); in RecalcSizes() 233 parentWidth -= ::GetSystemMetrics(SM_CXVSCROLL); in RecalcSizes() 243 childWidth > parentWidth)); in RecalcSizes() 254 SetScrollInfo(SB_HORZ, childWidth - 1, parentWidth, in RecalcSizes() 260 SetScrollInfo(SB_HORZ, childWidth - 1, parentWidth, in RecalcSizes() 512 jint parentWidth = sss->parentWidth; in _SetSpans() local 525 parentWidth, parentHeight, childWidth, childHeight); in _SetSpans() 792 jint parentWidth, in Java_sun_awt_windows_WScrollPanePeer_setSpans() argument [all …]
|
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/java.desktop/windows/native/libawt/windows/ |
H A D | awt_ScrollPane.cpp | 58 jint parentWidth; member 215 parentWidth -= (horzBorder * 2); in RecalcSizes() 225 childWidth > parentWidth)); in RecalcSizes() 233 parentWidth -= ::GetSystemMetrics(SM_CXVSCROLL); in RecalcSizes() 243 childWidth > parentWidth)); in RecalcSizes() 254 SetScrollInfo(SB_HORZ, childWidth - 1, parentWidth, in RecalcSizes() 260 SetScrollInfo(SB_HORZ, childWidth - 1, parentWidth, in RecalcSizes() 512 jint parentWidth = sss->parentWidth; in _SetSpans() local 525 parentWidth, parentHeight, childWidth, childHeight); in _SetSpans() 792 jint parentWidth, in Java_sun_awt_windows_WScrollPanePeer_setSpans() argument [all …]
|
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/src/windows/native/sun/windows/ |
H A D | awt_ScrollPane.cpp | 58 jint parentWidth; member 215 parentWidth -= (horzBorder * 2); in RecalcSizes() 225 childWidth > parentWidth)); in RecalcSizes() 233 parentWidth -= ::GetSystemMetrics(SM_CXVSCROLL); in RecalcSizes() 243 childWidth > parentWidth)); in RecalcSizes() 254 SetScrollInfo(SB_HORZ, childWidth - 1, parentWidth, in RecalcSizes() 260 SetScrollInfo(SB_HORZ, childWidth - 1, parentWidth, in RecalcSizes() 512 jint parentWidth = sss->parentWidth; in _SetSpans() local 525 parentWidth, parentHeight, childWidth, childHeight); in _SetSpans() 792 jint parentWidth, in Java_sun_awt_windows_WScrollPanePeer_setSpans() argument [all …]
|
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/java.desktop/windows/native/libawt/windows/ |
H A D | awt_ScrollPane.cpp | 58 jint parentWidth; member 215 parentWidth -= (horzBorder * 2); in RecalcSizes() 225 childWidth > parentWidth)); in RecalcSizes() 233 parentWidth -= ::GetSystemMetrics(SM_CXVSCROLL); in RecalcSizes() 243 childWidth > parentWidth)); in RecalcSizes() 254 SetScrollInfo(SB_HORZ, childWidth - 1, parentWidth, in RecalcSizes() 260 SetScrollInfo(SB_HORZ, childWidth - 1, parentWidth, in RecalcSizes() 512 jint parentWidth = sss->parentWidth; in _SetSpans() local 525 parentWidth, parentHeight, childWidth, childHeight); in _SetSpans() 792 jint parentWidth, in Java_sun_awt_windows_WScrollPanePeer_setSpans() argument [all …]
|
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/java.desktop/windows/native/libawt/windows/ |
H A D | awt_ScrollPane.cpp | 58 jint parentWidth; member 215 parentWidth -= (horzBorder * 2); in RecalcSizes() 225 childWidth > parentWidth)); in RecalcSizes() 233 parentWidth -= ::GetSystemMetrics(SM_CXVSCROLL); in RecalcSizes() 243 childWidth > parentWidth)); in RecalcSizes() 254 SetScrollInfo(SB_HORZ, childWidth - 1, parentWidth, in RecalcSizes() 260 SetScrollInfo(SB_HORZ, childWidth - 1, parentWidth, in RecalcSizes() 512 jint parentWidth = sss->parentWidth; in _SetSpans() local 525 parentWidth, parentHeight, childWidth, childHeight); in _SetSpans() 792 jint parentWidth, in Java_sun_awt_windows_WScrollPanePeer_setSpans() argument [all …]
|
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/java.desktop/windows/native/libawt/windows/ |
H A D | awt_ScrollPane.cpp | 58 jint parentWidth; member 215 parentWidth -= (horzBorder * 2); in RecalcSizes() 225 childWidth > parentWidth)); in RecalcSizes() 233 parentWidth -= ::GetSystemMetrics(SM_CXVSCROLL); in RecalcSizes() 243 childWidth > parentWidth)); in RecalcSizes() 254 SetScrollInfo(SB_HORZ, childWidth - 1, parentWidth, in RecalcSizes() 260 SetScrollInfo(SB_HORZ, childWidth - 1, parentWidth, in RecalcSizes() 512 jint parentWidth = sss->parentWidth; in _SetSpans() local 525 parentWidth, parentHeight, childWidth, childHeight); in _SetSpans() 792 jint parentWidth, in Java_sun_awt_windows_WScrollPanePeer_setSpans() argument [all …]
|
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/java.desktop/windows/native/libawt/windows/ |
H A D | awt_ScrollPane.cpp | 58 jint parentWidth; member 215 parentWidth -= (horzBorder * 2); in RecalcSizes() 225 childWidth > parentWidth)); in RecalcSizes() 233 parentWidth -= ::GetSystemMetrics(SM_CXVSCROLL); in RecalcSizes() 243 childWidth > parentWidth)); in RecalcSizes() 254 SetScrollInfo(SB_HORZ, childWidth - 1, parentWidth, in RecalcSizes() 260 SetScrollInfo(SB_HORZ, childWidth - 1, parentWidth, in RecalcSizes() 512 jint parentWidth = sss->parentWidth; in _SetSpans() local 525 parentWidth, parentHeight, childWidth, childHeight); in _SetSpans() 792 jint parentWidth, in Java_sun_awt_windows_WScrollPanePeer_setSpans() argument [all …]
|
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/java.desktop/windows/native/libawt/windows/ |
H A D | awt_ScrollPane.cpp | 58 jint parentWidth; member 215 parentWidth -= (horzBorder * 2); in RecalcSizes() 225 childWidth > parentWidth)); in RecalcSizes() 233 parentWidth -= ::GetSystemMetrics(SM_CXVSCROLL); in RecalcSizes() 243 childWidth > parentWidth)); in RecalcSizes() 254 SetScrollInfo(SB_HORZ, childWidth - 1, parentWidth, in RecalcSizes() 260 SetScrollInfo(SB_HORZ, childWidth - 1, parentWidth, in RecalcSizes() 512 jint parentWidth = sss->parentWidth; in _SetSpans() local 525 parentWidth, parentHeight, childWidth, childHeight); in _SetSpans() 792 jint parentWidth, in Java_sun_awt_windows_WScrollPanePeer_setSpans() argument [all …]
|
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/java.desktop/windows/native/libawt/windows/ |
H A D | awt_ScrollPane.cpp | 58 jint parentWidth; member 215 parentWidth -= (horzBorder * 2); in RecalcSizes() 225 childWidth > parentWidth)); in RecalcSizes() 233 parentWidth -= ::GetSystemMetrics(SM_CXVSCROLL); in RecalcSizes() 243 childWidth > parentWidth)); in RecalcSizes() 254 SetScrollInfo(SB_HORZ, childWidth - 1, parentWidth, in RecalcSizes() 260 SetScrollInfo(SB_HORZ, childWidth - 1, parentWidth, in RecalcSizes() 512 jint parentWidth = sss->parentWidth; in _SetSpans() local 525 parentWidth, parentHeight, childWidth, childHeight); in _SetSpans() 792 jint parentWidth, in Java_sun_awt_windows_WScrollPanePeer_setSpans() argument [all …]
|
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jdk/src/windows/native/sun/windows/ |
H A D | awt_ScrollPane.cpp | 58 jint parentWidth; member 215 parentWidth -= (horzBorder * 2); in RecalcSizes() 225 childWidth > parentWidth)); in RecalcSizes() 233 parentWidth -= ::GetSystemMetrics(SM_CXVSCROLL); in RecalcSizes() 243 childWidth > parentWidth)); in RecalcSizes() 254 SetScrollInfo(SB_HORZ, childWidth - 1, parentWidth, in RecalcSizes() 260 SetScrollInfo(SB_HORZ, childWidth - 1, parentWidth, in RecalcSizes() 512 jint parentWidth = sss->parentWidth; in _SetSpans() local 525 parentWidth, parentHeight, childWidth, childHeight); in _SetSpans() 792 jint parentWidth, in Java_sun_awt_windows_WScrollPanePeer_setSpans() argument [all …]
|