Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 318 for atom (0.41 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/ztypes_aix_ppc.go

    type dev_t uint32
    
    type Stat_t struct {
    	Dev      uint32
    	Ino      uint32
    	Mode     uint32
    	Nlink    int16
    	Flag     uint16
    	Uid      uint32
    	Gid      uint32
    	Rdev     uint32
    	Size     int32
    	Atim     Timespec
    	Mtim     Timespec
    	Ctim     Timespec
    	Blksize  int32
    	Blocks   int32
    	Vfstype  int32
    	Vfs      uint32
    	Type     uint32
    	Gen      uint32
    	Reserved [9]uint32
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  2. cmd/ftp-server.go

    			host, portStr, err := net.SplitHostPort(tokens[1])
    			if err != nil {
    				logger.Fatal(fmt.Errorf("invalid arguments passed to --ftp=%s (%v)", arg, err), "unable to start FTP server")
    			}
    			port, err = strconv.Atoi(portStr)
    			if err != nil {
    				logger.Fatal(fmt.Errorf("invalid arguments passed to --ftp=%s (%v)", arg, err), "unable to start FTP server")
    			}
    			if port < 1 || port > 65535 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Mar 09 03:07:08 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/inline/inlheur/funcprops_test.go

    				dr.p, dr.ln, line)
    		}
    		tag := fields[1]
    		flagstr := fields[5]
    		flags, err := strconv.Atoi(flagstr)
    		if err != nil {
    			return funcInlHeur, nil, fmt.Errorf("bad flags val %s line %d: %q err=%v",
    				dr.p, dr.ln, line, err)
    		}
    		scorestr := fields[7]
    		score, err2 := strconv.Atoi(scorestr)
    		if err2 != nil {
    			return funcInlHeur, nil, fmt.Errorf("bad score val %s line %d: %q err=%v",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 20:15:25 UTC 2023
    - 15K bytes
    - Viewed (0)
  4. src/runtime/string.go

    	}
    
    	n := int64(un)
    	if neg {
    		n = -n
    	}
    
    	return n, true
    }
    
    // atoi is like atoi64 but for integers
    // that fit into an int.
    func atoi(s string) (int, bool) {
    	if n, ok := atoi64(s); n == int64(int(n)) {
    		return int(n), ok
    	}
    	return 0, false
    }
    
    // atoi32 is like atoi but for integers
    // that fit into an int32.
    func atoi32(s string) (int32, bool) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  5. src/syscall/dirent_test.go

    		}
    	}
    
    	slices.Sort(names)
    	t.Logf("names: %q", names)
    
    	if len(names) != 10 {
    		t.Errorf("got %d names; expected 10", len(names))
    	}
    	for i, name := range names {
    		ord, err := strconv.Atoi(name[:1])
    		if err != nil {
    			t.Fatalf("names[%d] is non-integer %q: %v", i, names[i], err)
    		}
    		if expected := strings.Repeat(name[:1], filenameMinSize+ord); name != expected {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/parse.go

    	}
    	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
    }
    
    func (p *Parser) atof(str string) float64 {
    	value, err := strconv.ParseFloat(str, 64)
    	if err != nil {
    		p.errorf("%s", err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 14:34:57 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  7. src/net/platform_test.go

    		out, _ := exec.Command("oslevel", "-s").Output()
    		if len(out) >= len("7200-XX-ZZ-YYMM") { // AIX 7.2, Tech Level XX, Service Pack ZZ, date YYMM
    			aixVer := string(out[:4])
    			tl, _ := strconv.Atoi(string(out[5:7]))
    			unixEnabledOnAIX = aixVer > "7200" || (aixVer == "7200" && tl >= 2)
    		}
    	}
    }
    
    // testableNetwork reports whether network is testable on the current
    // platform configuration.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  8. internal/config/storageclass/storage-class_test.go

    		},
    		{
    			"EC:4:5",
    			StorageClass{
    				Parity: 4,
    			},
    			errors.New("Too many sections in EC:4:5"),
    		},
    		{
    			"EC:A",
    			StorageClass{
    				Parity: 4,
    			},
    			errors.New(`strconv.Atoi: parsing "A": invalid syntax`),
    		},
    		{
    			"AB",
    			StorageClass{
    				Parity: 4,
    			},
    			errors.New("Too few sections in AB"),
    		},
    	}
    	for i, tt := range tests {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Aug 15 23:04:20 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/route/retry/retry.go

    	for _, part := range parts {
    		part = strings.TrimSpace(part)
    		if part == "" {
    			continue
    		}
    
    		// Try converting it to an integer to see if it's a valid HTTP status code.
    		i, err := strconv.Atoi(part)
    
    		if err == nil && http.StatusText(i) != "" {
    			codes = append(codes, uint32(i))
    		} else {
    			tojoin = append(tojoin, part)
    		}
    	}
    
    	return strings.Join(tojoin, ","), codes
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 5K bytes
    - Viewed (0)
  10. src/cmd/link/internal/ld/go.go

    	parts := strings.Split(lib, ".")
    	if len(parts) != 4 {
    		return "", false
    	}
    	if parts[1] != "so" {
    		return "", false
    	}
    	if _, err := strconv.Atoi(parts[2]); err != nil {
    		return "", false
    	}
    	if _, err := strconv.Atoi(parts[3]); err != nil {
    		return "", false
    	}
    	return fmt.Sprintf("%s.%s", parts[0], parts[1]), true
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 16:48:30 UTC 2023
    - 11.2K bytes
    - Viewed (0)
Back to top