- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 377 for parseList (0.15 sec)
-
platforms/software/signing/src/testFixtures/groovy/org/gradle/test/fixtures/GpgCmdFixture.groovy
import java.util.regex.Pattern class GpgCmdFixture { private static final Random RANDOM = new Random() private static final int ALL_DIGITS_AND_LETTERS_RADIX = 36 private static final int MAX_RANDOM_PART_VALUE = Integer.parseInt("zzzzz", ALL_DIGITS_AND_LETTERS_RADIX) private static final Pattern GPG_VERSION_REGEX = Pattern.compile(/(?s).*gpg \(GnuPG\) (\d).\d+.\d+.*/) static String createRandomPrefix() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 3.1K bytes - Viewed (0) -
platforms/software/resources-http/src/main/java/org/gradle/internal/resource/transport/http/JavaSystemPropertiesProxySettings.java
} } private int initProxyPort(String proxyPortString) { if (StringUtils.isBlank(proxyPortString)) { return defaultPort; } try { return Integer.parseInt(proxyPortString); } catch (NumberFormatException e) { String key = propertyPrefix + ".proxyPort";
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 2.9K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/driver/driver_focus.go
func parseTagFilterRange(filter string) func(int64, string) bool { ranges := tagFilterRangeRx.FindAllStringSubmatch(filter, 2) if len(ranges) == 0 { return nil // No ranges were identified } v, err := strconv.ParseInt(ranges[0][1], 10, 64) if err != nil { panic(fmt.Errorf("failed to parse int %s: %v", ranges[0][1], err)) } scaledValue, unit := measurement.Scale(v, ranges[0][2], ranges[0][2]) if len(ranges) == 1 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 22 23:33:06 UTC 2020 - 6.4K bytes - Viewed (0) -
src/main/webapp/js/admin/plugins/timepicker/bootstrap-timepicker.min.js
2&&e.length%2!==0)return void this.clear();f=d[1]?d[1].toString():"",g=d[2]?d[2].toString():"",e.length>4&&(g=e.slice(-2),e=e.slice(0,-2)),e.length>2&&(f=e.slice(-2),e=e.slice(0,-2)),f.length>2&&(g=f.slice(-2),f=f.slice(0,-2)),e=parseInt(e,10),f=parseInt(f,10),g=parseInt(g,10),isNaN(e)&&(e=0),isNaN(f)&&(f=0),isNaN(g)&&(g=0),g>59&&(g=59),f>59&&(f=59),e>=this.maxHours&&(e=this.maxHours-1),this.showMeridian?(e>12&&(c=2,e-=12),c||(c=1),0===e&&(e=12),h=1===c?"AM":"PM"):12>e&&2===c?e+=12:e>=this.maxHo...
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 13 04:21:06 UTC 2020 - 18.2K bytes - Viewed (0) -
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) -
platforms/jvm/jacoco/src/testFixtures/groovy/org/gradle/testing/jacoco/plugins/fixtures/JacocoReportFixture.groovy
String numberOfClasses = td.text() .replaceAll(NON_BREAKING_WHITESPACE, '') // remove non-breaking whitespace .replaceAll('[^0-9]', '') // remove digit separators return Integer.parseInt(numberOfClasses) } String sourceCode(String pkg, String file) { return htmlDir.file("${pkg}/${file}.html").getText('UTF-8') } boolean assertVersion(String version) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 25 23:19:29 UTC 2024 - 2.7K bytes - Viewed (0) -
pilot/pkg/security/authz/model/util.go
"istio.io/istio/pilot/pkg/security/authz/matcher" "istio.io/istio/pilot/pkg/xds/filters" ) // convertToPort converts a port string to a uint32. func convertToPort(v string) (uint32, error) { p, err := strconv.ParseUint(v, 10, 32) if err != nil || p > 65535 { return 0, fmt.Errorf("invalid port %s: %v", v, err) } return uint32(p), nil } func extractNameInBrackets(s string) (string, error) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 25 10:39:25 UTC 2024 - 3.4K bytes - Viewed (0) -
pkg/apis/apps/v1beta2/conversion.go
// TODO: remove this conversion after we delete extensions/v1beta1 and apps/v1beta1 Deployment if revision := in.Annotations[appsv1beta2.DeprecatedRollbackTo]; revision != "" { if revision64, err := strconv.ParseInt(revision, 10, 64); err != nil { return fmt.Errorf("failed to parse annotation[%s]=%s as int64: %v", appsv1beta2.DeprecatedRollbackTo, revision, err) } else { out.Spec.RollbackTo = new(apps.RollbackConfig)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 23 23:36:24 UTC 2022 - 8.3K bytes - Viewed (0) -
pkg/kubelet/client/kubelet_client_test.go
testURL, err := url.Parse(testServer.URL) if err != nil { t.Fatal(err) } _, portStr, err := net.SplitHostPort(testURL.Host) if err != nil { t.Fatal(err) } port, err := strconv.ParseUint(portStr, 10, 32) if err != nil { t.Fatal(err) } config := &KubeletClientConfig{ Port: uint(port), TLSClientConfig: KubeletTLSConfig{ CertFile: "../../client/testdata/mycertvalid.cer",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 07 01:34:49 UTC 2023 - 2.9K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/TestableDaemon.groovy
Matcher matcher = pattern.matcher(daemonLog.text); assert matcher.matches(): "Unable to find daemon address in the daemon log. Daemon: $context" try { return Integer.parseInt(matcher.group(1)) } catch (NumberFormatException e) { throw new RuntimeException("Unexpected format of the port number found in the daemon log. Daemon: $context") } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 15:22:16 UTC 2024 - 3.4K bytes - Viewed (0)