PageSourceSearch

https://frontiersemi.com/Designs/admin/js/count.js

js frontiersemi.com collected 2026-10-10 00:31:15 UTC 2,284 bytes, 85 lines download raw bytes

1function countUp(count)
2{
3    var div_by = 100,
4        speed = Math.round(count / div_by),
5        $display = $('.count'),
6        run_count = 1,
7        int_speed = 2;
8
9    var int = setInterval(function() {
10        if(run_count < div_by){
11            $display.text(speed * run_count);
12            run_count++;
13        } else if(parseInt($display.text()) < count) {
14            var curr_count = parseInt($display.text()) + 1;
15            $display.text(curr_count);
16        } else {
17            clearInterval(int);
18        }
19    }, int_speed);
20}
21
22
23
24function countUp2(count)
25{
26    var div_by = 100,
27        speed = Math.round(count / div_by),
28        $display = $('.count2'),
29        run_count = 1,
30        int_speed = 2;
31
32    var int = setInterval(function() {
33        if(run_count < div_by){
34            $display.text(speed * run_count);
35            run_count++;
36        } else if(parseInt($display.text()) < count) {
37            var curr_count = parseInt($display.text()) + 1;
38            $dis
38play.text(curr_count);
39        } else {
40            clearInterval(int);
41        }
42    }, int_speed);
43}
44
45function countUp3(count)
46{
47    var div_by = 100,
48        speed = Math.round(count / div_by),
49        $display = $('.count3'),
50        run_count = 1,
51        int_speed = 2;
52
53    var int = setInterval(function() {
54        if(run_count < div_by){
55            $display.text(speed * run_count);
56            run_count++;
57        } else if(parseInt($display.text()) < count) {
58            var curr_count = parseInt($display.text()) + 1;
59            $display.text(curr_count);
60        } else {
61            clearInterval(int);
62        }
63    }, int_speed);
64}
65
66function countUp4(count)
67{
68    var div_by = 100,
69        speed = Math.round(count / div_by),
70        $display = $('.count4'),
71        run_count = 1,
72        int_speed = 2;
73
74    var int = setInterval(function() {
75        if(run_count < div_by){
76            $display.text(speed * run_count);
77            run_count++;
78        } else if(parseInt($display.text()) < count) {
79            var curr_count = parseInt($display.text()) + 1;
80            $display.text(curr_count);
81        } else {
82            clearInterval(int);
83        }
84    }, int_speed);
85}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.