Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 363 for parseLink (0.15 sec)

  1. src/strconv/fp_test.go

    // itself, passes the rest on to strconv.ParseFloat.
    func myatof64(s string) (f float64, ok bool) {
    	if mant, exp, ok := strings.Cut(s, "p"); ok {
    		n, err := strconv.ParseInt(mant, 10, 64)
    		if err != nil {
    			return 0, false
    		}
    		e, err1 := strconv.Atoi(exp)
    		if err1 != nil {
    			println("bad e", exp)
    			return 0, false
    		}
    		v := float64(n)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 06 15:53:04 UTC 2021
    - 2.9K bytes
    - Viewed (0)
  2. 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)
  3. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/DefaultConfigurableFilePermissions.java

            }
            return trimmed;
        }
    
        private static int toUnixNumericPermissions(String permissions) {
            try {
                return Integer.parseInt(permissions, 8);
            } catch (NumberFormatException e) {
                throw new IllegalArgumentException("Can't be parsed as octal number.");
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  4. pkg/istio-agent/health/health_probers_test.go

    		writer.WriteHeader(statusCode)
    	}))
    
    	u, _ := url.Parse(server.URL)
    	_, p, _ := net.SplitHostPort(u.Host)
    	port, _ := strconv.ParseUint(p, 10, 32)
    
    	return server, uint32(port)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 14 19:26:09 UTC 2021
    - 4.8K bytes
    - Viewed (0)
  5. 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)
  6. src/cmd/compile/internal/ssa/testdata/hist.go

    			return
    		}
    	}
    	scanner := bufio.NewScanner(reader)
    	for scanner.Scan() { //gdb-opt=(scanner/A)
    		s := scanner.Text()
    		i, err := strconv.ParseInt(s, 10, 64)
    		if err != nil { //gdb-dbg=(i) //gdb-opt=(err,hist,i)
    			fmt.Fprintf(os.Stderr, "There was an error: %v\n", err)
    			return
    		}
    		hist = ensure(int(i), hist)
    		hist[int(i)]++
    	}
    	t := 0
    	n := 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 23 18:05:07 UTC 2018
    - 2.4K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top