Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 183 for parseLink (0.18 sec)

  1. src/net/netip/slow_test.go

    	fs := strings.Split(s, ".")
    	if len(fs) != 4 {
    		return Addr{}, fmt.Errorf("netaddr.ParseIP(%q): invalid IP address", s)
    	}
    	var ret [4]byte
    	for i := range ret {
    		val, err := strconv.ParseUint(fs[i], 10, 8)
    		if err != nil {
    			return Addr{}, err
    		}
    		ret[i] = uint8(val)
    	}
    	return AddrFrom4([4]byte{ret[0], ret[1], ret[2], ret[3]}), nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 19:54:31 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. src/cmd/internal/pgo/deserialize.go

    		}
    
    		edge := NamedCallEdge{
    			CallerName:     callerName,
    			CalleeName:     calleeName,
    			CallSiteOffset: co,
    		}
    
    		weight, err := strconv.ParseInt(split[1], 10, 64)
    		if err != nil {
    			return nil, fmt.Errorf("preprocessed profile error processing call weight: %w", err)
    		}
    
    		if _, ok := d.NamedEdgeMap.Weight[edge]; ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:20:01 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/internal/locking/LockFileReaderWriter.java

                                return false;
                            } else {
                                return true;
                            }
                        }).forEach(line -> parseLine(line, uniqueLockState));
                } catch (IOException e) {
                    throw new RuntimeException("Unable to load unique lockfile", e);
                }
                for (String emptyLockId : emptyLockIds) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 02:50:41 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. subprojects/core/src/main/java/org/gradle/initialization/ParallelismBuildOptions.java

            }
    
            @Override
            public void applyTo(String value, ParallelismConfiguration settings, Origin origin) {
                try {
                    int workerCount = Integer.parseInt(value);
                    if (workerCount < 1) {
                        origin.handleInvalidValue(value, HINT);
                    }
                    settings.setMaxWorkerCount(workerCount);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 08 19:00:19 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. 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)
  9. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/SystemClassLoaderTest.groovy

            lines.find { it == heading } // here for nicer output if the output isn't what we expect
            def headingIndex = lines.indexOf(heading)
            def classpathSize = Integer.parseInt(lines[headingIndex + 1])
            // The gradle-launcher.jar is mandatory.
            // The gradle-instrumentation-agent.jar may not be available if the build runs in no-daemon mode.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMailDeliveryDepartmentCreator.java

            final List<String> hostPortList = DfStringUtil.splitListTrimmed(hostAndPort, ":");
            motorbike.registerConnectionInfo(hostPortList.get(0), Integer.parseInt(hostPortList.get(1)));
            motorbike.registerReturnPath(fessConfig.getMailReturnPath());
            parkingLot.registerMotorbikeAsMain(motorbike);
            return parkingLot;
        }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7K bytes
    - Viewed (0)
Back to top