Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 469 for atom (0.21 sec)

  1. test/fixedbugs/issue7690.go

    		return
    	}
    	m2 := re.FindStringSubmatch(string(buf2))
    	if m2 == nil {
    		println("BUG: cannot find main.main in second trace")
    		return
    	}
    
    	n1, _ := strconv.Atoi(m1[1])
    	n2, _ := strconv.Atoi(m2[1])
    	if n1+1 != n2 {
    		println("BUG: expect runtime.Stack on back to back lines, have", n1, n2)
    		println(string(buf1))
    		println(string(buf2))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 1.2K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/plan9/syscall_plan9.go

    			p = i + 1
    			nf++
    		}
    	}
    	f[nf] = buf[p:]
    	nf++
    
    	if nf != len(f) {
    		return syscall.ErrorString("invalid wait message")
    	}
    	w.Pid = int(atoi(f[0]))
    	w.Time[0] = uint32(atoi(f[1]))
    	w.Time[1] = uint32(atoi(f[2]))
    	w.Time[2] = uint32(atoi(f[3]))
    	w.Msg = cstring(f[4])
    	if w.Msg == "''" {
    		// await() returns '' for no error
    		w.Msg = ""
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 16 22:24:28 UTC 2022
    - 7K bytes
    - Viewed (0)
  3. src/syscall/ztypes_linux_arm64.go

    	Uid               uint32
    	Gid               uint32
    	Rdev              uint64
    	X__pad1           uint64
    	Size              int64
    	Blksize           int32
    	X__pad2           int32
    	Blocks            int64
    	Atim              Timespec
    	Mtim              Timespec
    	Ctim              Timespec
    	X__glibc_reserved [2]int32
    }
    
    type Statfs_t struct {
    	Type    int64
    	Bsize   int64
    	Blocks  uint64
    	Bfree   uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:49 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  4. internal/config/heal/heal.go

    	}
    	cfg.IOCount, err = strconv.Atoi(env.Get(EnvIOCount, kvs.GetWithDefault(IOCount, DefaultKVS)))
    	if err != nil {
    		return cfg, fmt.Errorf("'heal:max_io' value invalid: %w", err)
    	}
    	if ws := env.Get(EnvDriveWorkers, kvs.GetWithDefault(DriveWorkers, DefaultKVS)); ws != "" {
    		w, err := strconv.Atoi(ws)
    		if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/syscall_aix_ppc64.go

    }
    
    // In order to only have Timespec structure, type of Stat_t's fields
    // Atim, Mtim and Ctim is changed from StTimespec to Timespec during
    // ztypes generation.
    // On ppc64, Timespec.Nsec is an int64 while StTimespec.Nsec is an
    // int32, so the fields' value must be modified.
    func fixStatTimFields(stat *Stat_t) {
    	stat.Atim.Nsec >>= 32
    	stat.Mtim.Nsec >>= 32
    	stat.Ctim.Nsec >>= 32
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  6. src/os/user/listgroups_unix.go

    	"io"
    	"os"
    	"strconv"
    )
    
    func listGroupsFromReader(u *User, r io.Reader) ([]string, error) {
    	if u.Username == "" {
    		return nil, errors.New("user: list groups: empty username")
    	}
    	primaryGid, err := strconv.Atoi(u.Gid)
    	if err != nil {
    		return nil, fmt.Errorf("user: list groups for %s: invalid gid %q", u.Username, u.Gid)
    	}
    
    	userCommas := []byte("," + u.Username + ",")  // ,john,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 07 23:34:21 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  7. src/strconv/doc.go

    // Package strconv implements conversions to and from string representations
    // of basic data types.
    //
    // # Numeric Conversions
    //
    // The most common numeric conversions are [Atoi] (string to int) and [Itoa] (int to string).
    //
    //	i, err := strconv.Atoi("-42")
    //	s := strconv.Itoa(-42)
    //
    // These assume decimal and the Go int type.
    //
    // [ParseBool], [ParseFloat], [ParseInt], and [ParseUint] convert strings to values:
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:28 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. src/syscall/syscall_plan9.go

    			p = i + 1
    			nf++
    		}
    	}
    	f[nf] = buf[p:]
    	nf++
    
    	if nf != len(f) {
    		return NewError("invalid wait message")
    	}
    	w.Pid = int(atoi(f[0]))
    	w.Time[0] = uint32(atoi(f[1]))
    	w.Time[1] = uint32(atoi(f[2]))
    	w.Time[2] = uint32(atoi(f[3]))
    	w.Msg = cstring(f[4])
    	if w.Msg == "''" {
    		// await() returns '' for no error
    		w.Msg = ""
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  9. src/syscall/ztypes_linux_loong64.go

    	Uid               uint32
    	Gid               uint32
    	Rdev              uint64
    	X__pad1           uint64
    	Size              int64
    	Blksize           int32
    	X__pad2           int32
    	Blocks            int64
    	Atim              Timespec
    	Mtim              Timespec
    	Ctim              Timespec
    	X__glibc_reserved [2]int32
    }
    
    type statxTimestamp struct {
    	Sec         int64
    	Nsec        uint32
    	X__reserved int32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 26 20:15:45 UTC 2022
    - 10.8K bytes
    - Viewed (0)
  10. src/syscall/ztypes_linux_mips64le.go

    type Stat_t struct {
    	Dev     uint32
    	Pad1    [3]int32
    	Ino     uint64
    	Mode    uint32
    	Nlink   uint32
    	Uid     uint32
    	Gid     uint32
    	Rdev    uint32
    	Pad2    [3]uint32
    	Size    int64
    	Atim    Timespec
    	Mtim    Timespec
    	Ctim    Timespec
    	Blksize uint32
    	Pad4    uint32
    	Blocks  int64
    }
    
    type Statfs_t struct {
    	Type    int64
    	Bsize   int64
    	Frsize  int64
    	Blocks  uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:49 UTC 2023
    - 10.1K bytes
    - Viewed (0)
Back to top