Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 151 for dtoi (0.04 sec)

  1. src/cmd/cgo/internal/testcarchive/testdata/main5.c

    #include <sys/select.h>
    
    #include "libgo2.h"
    
    int *nilp;
    
    int main(int argc, char** argv) {
    	int verbose;
    	int test;
    
    	if (argc < 2) {
    		printf("Missing argument\n");
    		return 1;
    	}
    
    	test = atoi(argv[1]);
    
    	verbose = (argc > 2);
    
    	Noop();
    
    	switch (test) {
    		case 1: {
    			if (verbose) {
    				printf("attempting segfault\n");
    			}
    
    			*nilp = 0;
    			break;
    		}
    
    		case 2: {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. src/debug/pe/section.go

    // in COFF string table st instead.
    func (sh *SectionHeader32) fullName(st StringTable) (string, error) {
    	if sh.Name[0] != '/' {
    		return cstring(sh.Name[:]), nil
    	}
    	i, err := strconv.Atoi(cstring(sh.Name[1:]))
    	if err != nil {
    		return "", err
    	}
    	return st.String(uint32(i))
    }
    
    // TODO(brainman): copy all IMAGE_REL_* consts from ldpe.go here
    
    // Reloc represents a PE COFF relocation.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  3. test/slice3.go

    		"v20",
    	}
    
    	parse := func(s string) (n int, isconst bool) {
    		if s == "vminus1" {
    			return -1, false
    		}
    		isconst = true
    		if s[0] == 'v' {
    			isconst = false
    			s = s[1:]
    		}
    		n, _ = strconv.Atoi(s)
    		return n, isconst
    	}
    
    	const Cap = 10 // cap of slice, array
    
    	for _, base := range []string{"array", "slice"} {
    		for _, i := range index {
    			iv, iconst := parse(i)
    			for _, j := range index {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 2.9K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/envoy/configdump/route.go

    		}
    	}
    	if len(routes) == 0 {
    		return nil, fmt.Errorf("no routes found")
    	}
    	sort.Slice(routes, func(i, j int) bool {
    		iName, err := strconv.Atoi(routes[i].Name)
    		if err != nil {
    			return false
    		}
    		jName, err := strconv.Atoi(routes[j].Name)
    		if err != nil {
    			return false
    		}
    		return iName < jName
    	})
    	return routes, nil
    }
    
    func isPassthrough(action any) bool {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 11 05:38:17 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  5. src/go/internal/gcimporter/exportdata.go

    	_, err = io.ReadFull(r, hdr)
    	if err != nil {
    		return
    	}
    	// leave for debugging
    	if false {
    		fmt.Printf("header: %s", hdr)
    	}
    	s := strings.TrimSpace(string(hdr[16+12+6+6+8:][:10]))
    	size, err = strconv.Atoi(s)
    	if err != nil || hdr[len(hdr)-2] != '`' || hdr[len(hdr)-1] != '\n' {
    		err = fmt.Errorf("invalid archive header")
    		return
    	}
    	name = strings.TrimSpace(string(hdr[:16]))
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 19 15:49:05 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  6. src/main/resources/fess_indices/fess/fr/stopwords.txt

    je
    la
    le
    leur
    lui
    ma
    mais
    me
    même
    mes
    moi
    mon
    ne
    nos
    notre
    nous
    on
    ou
    par
    pas
    pour
    qu
    que
    qui
    sa
    se
    ses
    son
    sur
    ta
    te
    tes
    toi
    ton
    tu
    un
    une
    vos
    votre
    vous
    c
    d
    j
    l
    à
    m
    n
    s
    t
    y
    été
    étée
    étées
    étés
    étant
    suis
    es
    est
    sommes
    êtes
    sont
    serai
    seras
    sera
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Mon Nov 27 12:59:36 UTC 2023
    - 977 bytes
    - Viewed (0)
  7. src/cmd/internal/pgo/deserialize.go

    		}
    		readStr = scanner.Text()
    
    		split := strings.Split(readStr, " ")
    
    		if len(split) != 2 {
    			return nil, fmt.Errorf("preprocessed profile entry got %v want 2 fields", split)
    		}
    
    		co, err := strconv.Atoi(split[0])
    		if err != nil {
    			return nil, fmt.Errorf("preprocessed profile error processing call line: %w", err)
    		}
    
    		edge := NamedCallEdge{
    			CallerName:     callerName,
    			CalleeName:     calleeName,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:20:01 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. src/internal/types/testdata/check/funcinference.go

    		// of Setter, so we can convert it to PT.
    		p := PT(&result[i])
    		// PT has a Set method.
    		p.Set(v)
    	}
    	return result
    }
    
    type Settable int
    
    func (p *Settable) Set(s string) {
    	i, _ := strconv.Atoi(s) // real code should not ignore the error
    	*p = Settable(i)
    }
    
    var _ = FromStrings[Settable]([]string{"1", "2"})
    
    // Suitable error message when the type parameter is provided (rather than inferred).
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 01 21:01:45 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/util/naming/from_stack.go

    func extractStackCreator() (string, int, bool) {
    	stack := debug.Stack()
    	matches := stackCreator.FindStringSubmatch(string(stack))
    	if len(matches) != 4 {
    		return "", 0, false
    	}
    	line, err := strconv.Atoi(matches[3])
    	if err != nil {
    		return "", 0, false
    	}
    	return matches[2], line, true
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 12 01:31:42 UTC 2019
    - 2.6K bytes
    - Viewed (0)
  10. src/os/exec/exec_posix_test.go

    	}
    	t.Parallel()
    
    	u, err := user.Current()
    	if err != nil {
    		t.Fatalf("error getting current user: %v", err)
    	}
    
    	uid, err := strconv.Atoi(u.Uid)
    	if err != nil {
    		t.Fatalf("error converting Uid=%s to integer: %v", u.Uid, err)
    	}
    
    	gid, err := strconv.Atoi(u.Gid)
    	if err != nil {
    		t.Fatalf("error converting Gid=%s to integer: %v", u.Gid, err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 13 20:21:32 UTC 2022
    - 6.8K bytes
    - Viewed (0)
Back to top