This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const std = @import("std"); | |
| const Allocator = std.mem.Allocator; | |
| const expect = std.testing.expect; | |
| pub const DatabaseVersion = packed struct { | |
| major: u16, | |
| minor: u16, | |
| patch: u16, | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const std = @import("std"); | |
| const expect = std.testing.expect; | |
| const types = @import("./Types.zig"); | |
| const HashSize = types.HashSize; | |
| const HashAlgorithm = types.HashAlgorithm; | |
| pub const DatabaseVersion = packed struct { | |
| major: u16, | |
| minor: u16, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const std = @import("std"); | |
| const Allocator = std.mem.Allocator; | |
| const expect = std.testing.expect; | |
| //const utils = @import("utils"); | |
| const IOFileDescriptor = error{ NoValidFileDescriptor, NoValidFilePath }; | |
| const IOOffsetOverflow = error{Overflow}; | |
| const IOError = IOFileDescriptor || IOOffsetOverflow; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const std = @import("std"); | |
| const assert = std.debug.assert; | |
| const expect = std.testing.expect; | |
| const expectError = std.testing.expectError; | |
| const Allocator = std.mem.Allocator; | |
| const RingBuffer = @import("./RingBuffer.zig"); | |
| pub const QueueCreateError = std.mem.Allocator.Error; | |
| pub const QueueEnqueueError = error{IsFull}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React, { useState } from 'react'; | |
| import { View, Button } from 'react-native'; | |
| import Animated, { Easing, Keyframe } from 'react-native-reanimated'; | |
| export function ReproductionAnimation(): React.ReactElement { | |
| const [show, setShow] = useState(false); | |
| const enteringAnimation = new Keyframe({ | |
| 0: { | |
| opacity: 0, | |
| originY: 100, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [me@localhost new-react-native]$ yarn lint | |
| yarn run v1.22.0 | |
| $ eslint . | |
| /home/me/new-react-native/IntegrationTests/AppEventsTest.js | |
| 41:5 warning Do not use setState in componentDidMount react/no-did-mount-set-state | |
| /home/me/new-react-native/Libraries/Animated/__tests__/Animated-test.js | |
| 139:5 warning Skipped test jest/no-disabled-tests |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [me@localhost test-react-native]$ yarn lint | |
| yarn run v1.22.0 | |
| $ eslint . | |
| /home/me/test-react-native/IntegrationTests/AppEventsTest.js | |
| 41:5 warning Do not use setState in componentDidMount react/no-did-mount-set-state | |
| /home/me/test-react-native/Libraries/Animated/__tests__/Animated-test.js | |
| 139:5 warning Skipped test jest/no-disabled-tests |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [Thu Mar 04 2021 21:20:47.190] LOG getMonthInterpolateConfig: {"start":24255,"end":24355,"height":40} | |
| [Thu Mar 04 2021 21:20:47.246] LOG state: 0, velocity: 0 | |
| [Thu Mar 04 2021 21:20:47.264] LOG CalendarScrollableMonths: render! | |
| [Thu Mar 04 2021 21:20:47.362] LOG state: 0, velocity: 0 | |
| [Thu Mar 04 2021 21:20:49.190] LOG state: 1, velocity: 0 | |
| [Thu Mar 04 2021 21:20:49.360] LOG state: 5, velocity: -11.105178833007812 | |
| [Thu Mar 04 2021 21:20:49.490] LOG state: 5, velocity: 28.733333587646484 | |
| [Thu Mar 04 2021 21:20:49.500] LOG state: 2, velocity: -65.48081970214844 | |
| [Thu Mar 04 2021 21:20:49.530] LOG state: 3, velocity: -65 | |
| [Thu Mar 04 2021 21:20:49.680] LOG state: 5, velocity: 12.736842155456543 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [Tue Mar 02 2021 16:07:33.439] LOG velocity: 0, offset: 0 | |
| [Tue Mar 02 2021 16:07:33.455] LOG velocity: 0.008713597431778908, offset: 41.45454406738281 | |
| [Tue Mar 02 2021 16:07:33.470] LOG velocity: 45.07143020629883, offset: 270.9090881347656 | |
| [Tue Mar 02 2021 16:07:33.472] LOG velocity: -78.41270446777344, offset: 270.9090881347656 | |
| [Tue Mar 02 2021 16:07:33.474] LOG velocity: -78, offset: 270.9090881347656 | |
| [Tue Mar 02 2021 16:07:33.488] LOG velocity: 12.100000381469727, offset: 358.9090881347656 | |
| [Tue Mar 02 2021 16:07:33.515] LOG velocity: 22, offset: 494.9090881347656 | |
| [Tue Mar 02 2021 16:07:33.539] LOG velocity: 23.399999618530273, offset: 622.5454711914062 | |
| [Tue Mar 02 2021 16:07:33.541] LOG velocity: 25, offset: 749.8181762695312 | |
| [Tue Mar 02 2021 16:07:33.556] LOG velocity: 24.733333587646484, offset: 884.727294921875 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function _G.dump(...) | |
| local objects = vim.tbl_map(vim.inspect, {...}) | |
| print(unpack(objects)) | |
| end | |
| vim.lsp.set_log_level("debug") | |
| local cmd = vim.cmd | |
| local fn = vim.fn | |
| local g = vim.g |