Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 151 for dtoi (0.04 sec)

  1. src/time/zoneinfo_plan9.go

    			return UTC, nil
    		}
    		return nil, errBadData
    	}
    
    	var zones [2]zone
    
    	// standard timezone offset
    	o, err := atoi(f[1])
    	if err != nil {
    		return nil, errBadData
    	}
    	zones[0] = zone{name: f[0], offset: o, isDST: false}
    
    	// alternate timezone offset
    	o, err = atoi(f[3])
    	if err != nil {
    		return nil, errBadData
    	}
    	zones[1] = zone{name: f[2], offset: o, isDST: true}
    
    	// transition time pairs
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 16 23:09:19 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  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/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)
  6. 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)
  7. 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)
  8. tools/istio-iptables/pkg/capture/run_linux.go

    			if err != nil {
    				return fmt.Errorf("failed to find 'lo' link: %v", err)
    			}
    			tproxyTable, err := strconv.Atoi(cfg.InboundTProxyRouteTable)
    			if err != nil {
    				return fmt.Errorf("failed to parse InboundTProxyRouteTable: %v", err)
    			}
    			tproxyMark, err := strconv.Atoi(cfg.InboundTProxyMark)
    			if err != nil {
    				return fmt.Errorf("failed to parse InboundTProxyMark: %v", err)
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 22:24:38 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. src/os/user/lookup_unix.go

    		if len(parts) < 6 || parts[idx] != value || parts[0] == "" ||
    			parts[0][0] == '+' || parts[0][0] == '-' {
    			return
    		}
    		if _, err := strconv.Atoi(parts[2]); err != nil {
    			return nil, nil
    		}
    		if _, err := strconv.Atoi(parts[3]); err != nil {
    			return nil, nil
    		}
    		u := &User{
    			Username: parts[0],
    			Uid:      parts[2],
    			Gid:      parts[3],
    			Name:     parts[4],
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 07 23:34:21 UTC 2023
    - 6K bytes
    - Viewed (0)
  10. src/main/resources/fess_indices/fess/vi/stopwords.txt

    bị
    bởi
    cả
    các
    cái
    cần
    càng
    chỉ
    chiếc
    cho
    chứ
    chưa
    chuyện
    có
    có thể
    cứ
    của
    cùng
    cũng
    đã
    đang
    đây
    để
    đến nỗi
    đều
    điều
    do
    đó
    được
    dưới
    gì
    khi
    không
    là
    lại
    lên
    lúc
    mà
    mỗi
    một cách
    này
    nên
    nếu
    ngay
    nhiều
    như
    nhưng
    những
    nơi
    nữa
    phải
    qua
    ra
    rằng
    rằng
    rất
    rất
    rồi
    sau
    sẽ
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Jul 19 06:31:02 UTC 2018
    - 457 bytes
    - Viewed (0)
Back to top