- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 155 for parseLink (0.24 sec)
-
internal/jwt/parser.go
return errors.New("exp: Expected number") } c.ExpiresAt, err = jsonparser.ParseInt(value) return err } case 'i': if string(key) == "iat" { if dataType != jsonparser.Number { return errors.New("exp: Expected number") } c.IssuedAt, err = jsonparser.ParseInt(value) return err } if string(key) == "iss" { if dataType != jsonparser.String {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue May 09 07:53:08 UTC 2023 - 13.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/Config.java
*/ public static int getInt( String key, int def ) { String s = prp.getProperty( key ); if( s != null ) { try { def = Integer.parseInt( s ); } catch( NumberFormatException nfe ) { if( log.level > 0 ) nfe.printStackTrace( log ); } } return def; } /**
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 11.3K bytes - Viewed (0) -
src/cmd/asm/internal/asm/parse.go
func (p *Parser) positiveAtoi(str string) int64 { value, err := strconv.ParseInt(str, 0, 64) if err != nil { p.errorf("%s", err) } if value < 0 { p.errorf("%s overflows int64", str) } return value } func (p *Parser) atoi(str string) uint64 { value, err := strconv.ParseUint(str, 0, 64) if err != nil { p.errorf("%s", err) } return value }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 14:34:57 UTC 2024 - 36.9K bytes - Viewed (0) -
pkg/kubelet/cm/cgroup_manager_linux.go
} cpuLimit := int64(-1) if cpuLimitStr != Cgroup2MaxCpuLimit { cpuLimit, err = strconv.ParseInt(cpuLimitStr, 10, 64) if err != nil { return nil, fmt.Errorf("failed to convert CPU limit as integer for cgroup %v: %v", cgroupPath, err) } } cpuPeriod, errPeriod := strconv.ParseUint(cpuPeriodStr, 10, 64) if errPeriod != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 27 13:02:15 UTC 2023 - 26.5K bytes - Viewed (0) -
pkg/util/iptables/testing/parse.go
match := declareChainRegex.FindStringSubmatch(line) if match == nil { state = parseChains goto retry } chain := iptables.Chain(match[1]) packets, _ := strconv.ParseUint(match[2], 10, 64) bytes, _ := strconv.ParseUint(match[3], 10, 64) t.Chains = append(t.Chains, Chain{ Name: chain, Packets: packets, Bytes: bytes, }, ) case parseChains:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Dec 19 01:20:51 UTC 2023 - 11.6K bytes - Viewed (0) -
src/crypto/internal/mlkem768/mlkem768_test.go
// FloatString rounds halves away from 0, and our result should always be positive, // so it should work as we expect. (There's no direct way to round a Rat.) rounded, err := strconv.ParseInt(precise.FloatString(0), 10, 64) if err != nil { panic(err) } // If we rounded up, `rounded` may be equal to 2ᵈ, so we perform a final reduction. return uint16(rounded % (1 << d)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 06 15:27:18 UTC 2024 - 10.3K bytes - Viewed (0) -
src/database/sql/convert.go
if src == nil { return fmt.Errorf("converting NULL to %s is unsupported", dv.Kind()) } s := asString(src) u64, err := strconv.ParseUint(s, 10, dv.Type().Bits()) if err != nil { err = strconvErr(err) return fmt.Errorf("converting driver.Value type %T (%q) to a %s: %v", src, s, dv.Kind(), err) } dv.SetUint(u64) return nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 16.2K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/labels/selector.go
case selection.DoesNotExist: return !ls.Has(r.key) case selection.GreaterThan, selection.LessThan: if !ls.Has(r.key) { return false } lsValue, err := strconv.ParseInt(ls.Get(r.key), 10, 64) if err != nil { klog.V(10).Infof("ParseInt failed for value %+v in label %+v, %+v", ls.Get(r.key), ls, err) return false } // There should be only one strValue in r.strValues, and can be converted to an integer.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Dec 18 04:27:38 UTC 2022 - 31.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java
*/ public class NtlmHttpURLConnection extends HttpURLConnection { private static final int MAX_REDIRECTS = Integer.parseInt(System.getProperty("http.maxRedirects", "20")); private static final int LM_COMPATIBILITY = Config.getInt("jcifs.smb1.smb.lmCompatibility", 0); private static final String DEFAULT_DOMAIN;
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 20.4K bytes - Viewed (0) -
src/main/webapp/js/admin/plugins/form-validator/security.js
c){if(b.length>=c[e][0]&&b.length<=c[e][1])return h=!0,!1}else a.formUtils.warn('Use of unknown credit card "'+e+'"',!0)}),!h)return!1}if(""!==b.replace(new RegExp("[0-9]","g"),""))return!1;var i=0;return a.each(b.split("").reverse(),function(a,b){b=parseInt(b,10),a%2===0?i+=b:(b*=2,i+=b<10?b:b-9)}),i%10===0},errorMessage:"",errorMessageKey:"badCreditCard"}),a.formUtils.addValidator({name:"cvv",validatorFunction:function(a){return""===a.replace(/[0-9]/g,"")&&(a+="",d?4===a.length:e?3===a.length||4==...
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Mon Jan 01 05:12:47 UTC 2018 - 10.5K bytes - Viewed (0)