Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 377 for parseList (0.27 sec)

  1. 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)
  2. 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)
  3. src/test/java/org/codelibs/fess/util/DocumentUtilTest.java

            String expected = "1";
            doc.put("key1", expected);
            assertEquals(expected, DocumentUtil.getValue(doc, "key1", String.class));
            assertEquals(Integer.parseInt(expected), DocumentUtil.getValue(doc, "key1", Integer.class).intValue());
            assertEquals(Long.parseLong(expected), DocumentUtil.getValue(doc, "key1", Long.class).longValue());
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/debug_lines_test.go

    	var gotStmts []int
    	var gotStacks [][]int
    	for dump.Scan() {
    		line := dump.Text()
    		dumpLineNum++
    		matches := inlineLine.FindStringSubmatch(line)
    		if len(matches) == 2 {
    			stmt, err := strconv.ParseInt(matches[1], 10, 32)
    			if err != nil {
    				t.Fatalf("Expected to parse a line number but saw %s instead on dump line #%d, error %v", matches[1], dumpLineNum, err)
    			}
    			if testing.Verbose() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:24:52 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  5. platforms/core-runtime/files/src/main/java/org/gradle/api/internal/file/archive/impl/FileZipInput.java

            if (versionParts.length < 1) {
                throw new IllegalArgumentException("Could not determine java version from '" + versionString + "'.");
            }
            return Integer.parseInt(versionParts[0]) >= 11;
        }
    
        private final ZipFile file;
        private final Enumeration<? extends java.util.zip.ZipEntry> entries;
    
        private FileZipInput(File file) {
            try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 12:11:00 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  6. platforms/jvm/plugins-java-base/src/main/java/org/gradle/api/plugins/jvm/internal/DefaultJvmLanguageUtilities.java

                int flagIndex = compilerArgs.indexOf("--release");
    
                if (flagIndex != -1 && flagIndex + 1 < compilerArgs.size()) {
                    return Integer.parseInt(String.valueOf(compilerArgs.get(flagIndex + 1)));
                } else {
                    return JavaVersion.toVersion(compileTask.getTargetCompatibility()).getMajorVersionNumber();
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 05:47:05 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. src/text/template/parse/parse_test.go

    			t.Errorf("did not expect complex for %q", test.text)
    		}
    	}
    }
    
    type parseTest struct {
    	name   string
    	input  string
    	ok     bool
    	result string // what the user would see in an error message.
    }
    
    const (
    	noError  = true
    	hasError = false
    )
    
    var parseTests = []parseTest{
    	{"empty", "", noError,
    		``},
    	{"comment", "{{/*\n\n\n*/}}", noError,
    		``},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 24K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/RobotsTxtHelper.java

                            if (!currentDirectiveList.isEmpty()) {
                                try {
                                    final int crawlDelay = Integer.parseInt(value);
                                    for (final Directive directive : currentDirectiveList) {
                                        directive.setCrawlDelay(Math.max(0, crawlDelay));
                                    }
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  9. 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)
  10. pilot/cmd/pilot-agent/status/util/stats.go

    		s.found = true
    
    		parts := strings.Split(line, ":")
    		if len(parts) != 2 {
    			return fmt.Errorf("envoy stat %s missing separator. line:%s", s.name, line)
    		}
    
    		val, err := strconv.ParseUint(strings.TrimSpace(parts[1]), 10, 64)
    		if err != nil {
    			return fmt.Errorf("failed parsing Envoy stat %s (error: %s) line: %s", s.name, err.Error(), line)
    		}
    
    		*s.value = val
    	}
    
    	return nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 21 15:50:49 UTC 2022
    - 4.8K bytes
    - Viewed (0)
Back to top