Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for math (0.14 sec)

  1. src/main/webapp/js/admin/plugins/form-validator/uk.js

    (a){if(a=a.replace(/[^0-9]/g,""),a.length<9)return!1;var b=!1,c=[];c=a.split("");var d=Number(c[7]+c[8]),e=c[0],f=c[1];if(0===e&&f>0)return!1;for(var g=0,h=0;h<7;h++)g+=c[h]*(8-h);for(var i=0,j=0,k=8;k>=2;k--)i+=c[j]*k,j++;for(;g>0;)g-=97;return g=Math.abs(g),d===g&&(b=!0),b||(g%=97,g>=55?g-=55:g+=42,g===d&&(b=!0)),b},errorMessage:"",errorMessageKey:"badUKVatAnswer"}),a.formUtils.addValidator({name:"ukutr",validatorFunction:function(a){var b=[0,6,7,8,9,10,5,4,3,2],c=[2,1,9,8,7,6,5,4,3,2,1],d=0;i...
    JavaScript
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Mon Jan 01 05:12:47 GMT 2018
    - 1.4K bytes
    - Viewed (0)
  2. misc/chrome/gophertool/gopher.js

            }
            return "https://golang.org/cl/" + t;
        }
    
        if (gerritChangeIdRE.test(t)) {
            return "https://golang.org/cl/" + t;
        }
    
        var match = commitRE.exec(t);
        if (match) {
            return "https://golang.org/change/" + match[1];
        }
    
        if (pkgRE.test(t)) {
            // TODO: make this smarter, using a list of packages + substring matches.
            // Get the list from godoc itself in JSON format?
    JavaScript
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sat Jul 11 14:36:33 GMT 2015
    - 1.2K bytes
    - Viewed (0)
  3. src/main/webapp/js/admin/plugins/form-validator/color.js

    d=4===a.length||7===a.length;if(d){var e=/[0-9a-f]/i,f=a.slice(1).split(""),g=!0;return f.forEach(function(a){null===a.match(e)&&(g=!1)}),g}return!1},errorMessage:"",errorMessageKey:"badHex"}),a.formUtils.addValidator({name:"rgb",validatorFunction:function(a,b){if("true"===b.valAttr("allow-transparent")&&"transparent"===a)return!0;var c=a.replace(/ /g,""),d=/\([0-9]{1,3},[0-9]{1,3},[0-9]{1,3}\)/i;if(c.match(d)){var e=c.replace(/\(/g,"").replace(/\)/g,""),f=e.split(","),g=!0;return f.forEach(function(a){var b=p...
    JavaScript
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Mon Jan 01 05:12:47 GMT 2018
    - 2.8K bytes
    - Viewed (0)
  4. docs/extensions/s3zip/examples/aws-js/main.js

        endpoint: 'http://127.0.0.1:9000' ,
        s3ForcePathStyle: true,
        signatureVersion: 'v4'
    });
    
    // List all contents stored in the zip archive
    s3.listObjectsV2({Bucket : 'your-bucket', Prefix: 'path/to/file.zip/'}).
        on('build', function(req) { req.httpRequest.headers['X-Minio-Extract'] = 'true'; }).
        send(function(err, data) {
            if (err) {
                console.log("Error", err);
            } else {
    JavaScript
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jun 10 15:17:03 GMT 2021
    - 1K bytes
    - Viewed (0)
  5. misc/chrome/gophertool/popup.js

        box.value = "";
        openURL(url);
        return false;  // cancel form submission
      };
    
      var url = urlForInput(t);
      if (url) {
        return success(url);
      }
    
      console.log("no match for text: " + t)
      return false;
    JavaScript
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Oct 21 17:05:21 GMT 2012
    - 1020 bytes
    - Viewed (0)
  6. docs/en/docs/js/custom.js

        createTermynals();
        loadVisibleTermynals();
    }
    
    function shuffle(array) {
        var currentIndex = array.length, temporaryValue, randomIndex;
        while (0 !== currentIndex) {
            randomIndex = Math.floor(Math.random() * currentIndex);
            currentIndex -= 1;
            temporaryValue = array[currentIndex];
            array[currentIndex] = array[randomIndex];
            array[randomIndex] = temporaryValue;
        }
    JavaScript
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat May 08 17:50:56 GMT 2021
    - 6.6K bytes
    - Viewed (0)
  7. src/main/webapp/js/admin/plugins/form-validator/date.js

    ction b(a,b,d){var e=new Date(a,b,d),f=new Date,g=f.getFullYear()-e.getFullYear();e.setFullYear(e.getFullYear()+g),e>f&&(g--,e.setFullYear(e.getFullYear()-1));var h=Math.floor((f.getTime()-e.getTime())/864e5),i=g+h/(c(f.getFullYear())?366:365),j=((i+"").split(".")[1]||"").substr(0,3);return i>=0?Math.floor(i)+(j>=915?1:0):(j*=10,Math.floor(i)+(j<=840?1:0))}function c(a){var b=new Date(a,1,28);return b.setDate(b.getDate()+1),1===b.getMonth()}a.formUtils.registerLoadedModule("date"),a.formUtils.ad...
    JavaScript
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Mon Jan 01 05:12:47 GMT 2018
    - 1.6K bytes
    - Viewed (0)
  8. docs/en/docs/js/termynal.js

            line.textContent = '';
            this.container.appendChild(line);
    
            for (let i = 1; i < chars.length + 1; i++) {
                await this._wait(this.typeDelay);
                const percent = Math.round(i / chars.length * 100);
                line.textContent = `${chars.slice(0, i)} ${percent}%`;
    			if (percent>progressPercent) {
    				break;
    			}
            }
        }
    
        /**
    JavaScript
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 9.3K bytes
    - Viewed (0)
  9. .cm/plugins/filters/computeStatistics/index.js

            });
        });
    
        summaries.forEach(summary => {
            summary.additionPercent = Math.round(summary.additions / (totalAdditions + totalDeletions) * 100, 2);
            summary.deletionPercent = Math.round(summary.deletions / (totalAdditions + totalDeletions) * 100, 2);
            summary.filesPercent = Math.round(summary.files.length / totalChangedFiles * 100, 2);
        });
    
        console.log("computeStatistics: ");
    JavaScript
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  10. src/main/webapp/js/admin/plugins/form-validator/brazil.js

    age:"",errorMessageKey:"badBrazilCPFAnswer"}),a.formUtils.addValidator({name:"brphone",validatorFunction:function(a){return!!a.match(/^(\+[\d]{1,3}[\s]{0,1}){0,1}(\(){0,1}(\d){2}(\)){0,1}(\s){0,1}(\d){4,5}([-. ]){0,1}(\d){4}$/g)},errorMessage:"",errorMessageKey:"badBrazilTelephoneAnswer"}),a.formUtils.addValidator({name:"cep",validatorFunction:function(a){return!!a.match(/^(\d){5}([-. ]){0,1}(\d){3}$/g)},errorMessage:"",errorMessageKey:"badBrazilCEPAnswer"})}(a)});...
    JavaScript
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Mon Jan 01 05:12:47 GMT 2018
    - 1.3K bytes
    - Viewed (0)
Back to top