- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 117 for ParseInt (0.23 sec)
-
src/main/webapp/js/admin/plugins/form-validator/brazil.js
{name:"cpf",validatorFunction:function(a){var b=a.replace(/\D/g,""),c=0,d=0,e=0,f=0;if(11!==b.length||"00000000000"===b)return!1;for(i=1;i<=9;i++)c+=parseInt(b.substring(i-1,i))*(11-i);if(e=10*c%11,e>=10&&(e=0),e!==parseInt(b.substring(9,10)))return!1;for(i=1;i<=10;i++)d+=parseInt(b.substring(i-1,i))*(12-i);return f=10*d%11,f>=10&&(f=0),f===parseInt(b.substring(10,11))},errorMessage:"",errorMessageKey:"badBrazilCPFAnswer"}),a.formUtils.addValidator({name:"brphone",validatorFunction:function(a){r...
JavaScript - Registered: Mon Apr 22 08:04:10 GMT 2024 - Last Modified: Mon Jan 01 05:12:47 GMT 2018 - 1.3K bytes - Viewed (0) -
src/main/webapp/js/admin/plugins/form-validator/poland.js
b=[1,3,7,9,1,3,7,9,1,3],c=0,d=0;if(/\d{11}/.test(a)&&11===a.length){for(var e=0;e<10;e++)c+=a[e]*b[e];if(c%10!==0&&(d=10-c%10),parseInt(a.charAt(10))===d)return!0}return!1},errorMessage:"",errorMessageKey:"badPlPesel"}),a.formUtils.addValidator({name:"plnip",validatorFunction:function(a){var b=[6,5,7,2,3,4,5,6,7],c=0;if(/\d{10}/.test(a)&&10===a.length){for(var d=0;d<9;d++)c+=a[d]*b[d];if(parseInt(a.charAt(9))===c%11)return!0}return!1},errorMessage:"",errorMessageKey:"badPlNip"}),a.formUtils.addValidator({nam...
JavaScript - Registered: Mon Apr 22 08:04:10 GMT 2024 - Last Modified: Mon Jan 01 05:12:47 GMT 2018 - 1.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/JvmUtil.java
Java - Registered: Mon Apr 22 08:04:10 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 2.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/exentity/DataConfig.java
Java - Registered: Mon Apr 22 08:04:10 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 18.6K bytes - Viewed (0) -
src/main/webapp/js/admin/plugins/form-validator/file.js
gFileSize"}),a.formUtils.convertSizeNameToBytes=function(a){return a=a.toUpperCase(),"M"===a.substr(a.length-1,1)?1024*parseInt(a.substr(0,a.length-1),10)*1024:"MB"===a.substr(a.length-2,2)?1024*parseInt(a.substr(0,a.length-2),10)*1024:"KB"===a.substr(a.length-2,2)?1024*parseInt(a.substr(0,a.length-2),10):"B"===a.substr(a.length-1,1)?parseInt(a.substr(0,a.length-1),10):parseInt(a,10)},a.formUtils.checkImageDimension=function(a,b,c){var d=!1,e={width:0,height:0},f=function(a){a=a.replace("min",""...
JavaScript - Registered: Mon Apr 22 08:04:10 GMT 2024 - Last Modified: Mon Jan 01 05:12:47 GMT 2018 - 4.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java
} final int[] values = new int[2]; values[0] = Integer.parseInt(froms[0]); if (values[0] < 0 || values[0] > 23) { throw new FessSystemException("Invalid format: " + time); } values[1] = Integer.parseInt(froms[1]); if (values[1] < 0 || values[1] > 59) { throw new FessSystemException("Invalid format: " + time);
Java - Registered: Mon Apr 22 08:04:10 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 5.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/FailureUrlService.java
} if (StringUtil.isNotBlank(failureUrlPager.errorCountMax)) { cb.query().setErrorCount_LessEqual(Integer.parseInt(failureUrlPager.errorCountMax)); } if (StringUtil.isNotBlank(failureUrlPager.errorCountMin)) { cb.query().setErrorCount_GreaterEqual(Integer.parseInt(failureUrlPager.errorCountMin)); } if (StringUtil.isNotBlank(failureUrlPager.errorName)) {
Java - Registered: Mon Apr 22 08:04:10 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 6.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/validation/CustomSizeValidator.java
final String minKey = constraintAnnotation.minKey(); if (StringUtil.isNotBlank(minKey)) { min = Integer.parseInt(fessConfig.get(minKey)); } final String maxKey = constraintAnnotation.maxKey(); if (StringUtil.isNotBlank(maxKey)) { max = Integer.parseInt(fessConfig.get(maxKey)); } message = constraintAnnotation.message(); validateParameters(); }
Java - Registered: Mon Apr 22 08:04:10 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 2.8K bytes - Viewed (0) -
cmd/metacache-marker.go
o.ID = kv[1] case "return": o.ID = mustGetUUID() o.Create = true case "p": // pool v, err := strconv.ParseInt(kv[1], 10, 64) if err != nil { o.ID = mustGetUUID() o.Create = true continue } o.pool = int(v) case "s": // set v, err := strconv.ParseInt(kv[1], 10, 64) if err != nil { o.ID = mustGetUUID() o.Create = true continue } o.set = int(v)
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 2.5K bytes - Viewed (0) -
src/archive/tar/reader.go
case paxLinkpath: hdr.Linkname = v case paxUname: hdr.Uname = v case paxGname: hdr.Gname = v case paxUid: id64, err = strconv.ParseInt(v, 10, 64) hdr.Uid = int(id64) // Integer overflow possible case paxGid: id64, err = strconv.ParseInt(v, 10, 64) hdr.Gid = int(id64) // Integer overflow possible case paxAtime: hdr.AccessTime, err = parsePAXTime(v) case paxMtime:
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri Mar 08 01:59:14 GMT 2024 - 26.8K bytes - Viewed (0)