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
    
  
  
    
  | #include <stdio.h> | |
| #include <math.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| int NumberOfDigits (long long int n) { | |
| int count = 0; | |
| while (n != 0) { | |
| n /= 10; // n = n/10 | |
| ++count; | 
  
    
      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
    
  
  
    
  | #include <stdio.h> | |
| #include <math.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| int NumberOfDigits (long long int n) { | |
| int count = 0; | |
| while (n != 0) { | |
| n /= 10; // n = n/10 | |
| ++count; | 
  
    
      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
    
  
  
    
  | jon.padilla@COMP-W936N7C769 vector % make test | |
| cargo nextest run --workspace --no-fail-fast --no-default-features --features "default" | |
| Downloading crates ... | |
| Downloaded dirs v1.0.5 | |
| Downloaded test-case-macros v2.2.1 | |
| Downloaded test-case v2.2.1 | |
| Downloaded vec_map v0.8.2 | |
| Downloaded tracing-test v0.2.1 | |
| Downloaded encode_unicode v0.3.6 | |
| Downloaded tracing-test-macro v0.2.1 | 
  
    
      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
    
  
  
    
  | jon.padilla@COMP-W936N7C769 cli % cargo run | |
| Compiling vrl-stdlib v0.1.0 (/Users/jon.padilla/Documents/datadoge/vector/lib/vrl/stdlib) | |
| Compiling vrl-cli v0.1.0 (/Users/jon.padilla/Documents/datadoge/vector/lib/vrl/cli) | |
| Finished dev [unoptimized + debuginfo] target(s) in 3.42s | |
| Running `/Users/jon.padilla/Documents/datadoge/vector/target/debug/vrl` | |
| > VVVVVVVV VVVVVVVVRRRRRRRRRRRRRRRRR LLLLLLLLLLL | |
| > V::::::V V::::::VR::::::::::::::::R L:::::::::L | |
| > V::::::V V::::::VR::::::RRRRRR:::::R L:::::::::L | |
| > V::::::V V::::::VRR:::::R R:::::RLL:::::::LL | |
| > V:::::V V:::::V R::::R R:::::R L:::::L | 
  
    
      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
    
  
  
    
  | jon.padilla@COMP-W936N7C769 vector % cargo run vrl | |
| Finished dev [unoptimized + debuginfo] target(s) in 2.03s | |
| Running `target/debug/vector vrl` | |
| > VVVVVVVV VVVVVVVVRRRRRRRRRRRRRRRRR LLLLLLLLLLL | |
| > V::::::V V::::::VR::::::::::::::::R L:::::::::L | |
| > V::::::V V::::::VR::::::RRRRRR:::::R L:::::::::L | |
| > V::::::V V::::::VRR:::::R R:::::RLL:::::::LL | |
| > V:::::V V:::::V R::::R R:::::R L:::::L | |
| > V:::::V V:::::V R::::R R:::::R L:::::L | |
| > V:::::V V:::::V R::::RRRRRR:::::R L:::::L | 
  
    
      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
    
  
  
    
  | [INFO]: Checking for the Wasm target... | |
| [INFO]: Compiling to Wasm... | |
| Compiling socket2 v0.4.7 | |
| error[E0583]: file not found for module `sys` | |
| --> /Users/jon.padilla/.cargo/registry/src/github.com-1ecc6299db9ec823/socket2-0.4.7/src/lib.rs:124:1 | |
| | | |
| 124 | mod sys; | |
| | ^^^^^^^^ | |
| | | |
| = help: to create the module `sys`, create file "/Users/jon.padilla/.cargo/registry/src/github.com-1ecc6299db9ec823/socket2-0.4.7/src/sys.rs" or "/Users/jon.padilla/.cargo/registry/src/github.com-1ecc6299db9ec823/socket2-0.4.7/src/sys/mod.rs" | 
  
    
      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
    
  
  
    
  | let state = { | |
| program: '.name2 = "jonathan2"\nkeys({"key1": "val1"})', | |
| event: {name: "jonathan"} | |
| } | |
| console.log(btoa(state)); | |
| window.history.pushState(state, "", `?state=${ btoa(JSON.stringify(state)) }`); | |
| const queryString = window.location.search; | |
| const urlParams = new URLSearchParams(queryString); | |
| const stateParam = urlParams.get('state'); | 
  
    
      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
    
  
  
    
  | let wasm; | |
| const heap = new Array(32).fill(undefined); | |
| heap.push(undefined, null, true, false); | |
| function getObject(idx) { return heap[idx]; } | |
| let heap_next = heap.length; | 
  
    
      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
    
  
  
    
  | Type: wasm | |
| Size: 9.5 MB | |
| Imports: | |
| Functions: | |
| "__wbindgen_placeholder__"."__wbindgen_describe": [I32] -> [] | |
| "__wbindgen_placeholder__"."__wbindgen_is_undefined": [I32] -> [I32] | |
| "__wbindgen_placeholder__"."__wbg_log_d0151ef59bf97787": [I32, I32] -> [] | |
| "__wbindgen_placeholder__"."__wbindgen_object_drop_ref": [I32] -> [] | |
| "__wbindgen_placeholder__"."__wbindgen_string_get": [I32, I32] -> [] | |
| "__wbindgen_placeholder__"."__wbg_getTime_f14c1fb12257cc82": [I32] -> [F64] | 
  
    
      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
    
  
  
    
  | jon.padilla@COMP-W936N7C769 web-playground % wasm-pack build --target web --out-dir public | |
| [INFO]: 🎯 Checking for the Wasm target... | |
| [INFO]: 🌀 Compiling to Wasm... | |
| Compiling proc-macro2 v1.0.47 | |
| Compiling quote v1.0.21 | |
| Compiling unicode-ident v1.0.0 | |
| Compiling syn v1.0.103 | |
| Compiling autocfg v1.1.0 | |
| Compiling cfg-if v1.0.0 | |
| Compiling memchr v2.5.0 | 
OlderNewer