Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for Se (0.03 sec)

  1. src/internal/xcoff/file.go

    		case U802TOCMAGIC:
    			se := new(SymEnt32)
    			if err := binary.Read(sr, binary.BigEndian, se); err != nil {
    				return nil, err
    			}
    			numaux = int(se.Nnumaux)
    			sym.SectionNumber = int(se.Nscnum)
    			sym.StorageClass = int(se.Nsclass)
    			sym.Value = uint64(se.Nvalue)
    			needAuxFcn = se.Ntype&SYM_TYPE_FUNC != 0 && numaux > 1
    			zeroes := binary.BigEndian.Uint32(se.Nname[:4])
    			if zeroes != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 12 14:42:29 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  2. src/net/error_unix.go

    // license that can be found in the LICENSE file.
    
    //go:build unix || js || wasip1
    
    package net
    
    import "syscall"
    
    func isConnError(err error) bool {
    	if se, ok := err.(syscall.Errno); ok {
    		return se == syscall.ECONNRESET || se == syscall.ECONNABORTED
    	}
    	return false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 20:54:12 UTC 2023
    - 382 bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/test/issue18146.go

    			// some systems (problem seen on Darwin,
    			// Dragonfly, OpenBSD) the fork call will fail
    			// with EAGAIN.
    			if pe, ok := err.(*os.PathError); ok {
    				err = pe.Err
    			}
    			if se, ok := err.(syscall.Errno); ok && (se == syscall.EAGAIN || se == syscall.EMFILE) {
    				time.Sleep(time.Millisecond)
    				continue
    			}
    
    			t.Error(err)
    			return
    		}
    		cmds = append(cmds, cmd)
    	}
    
    	failures := 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:32 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  4. src/runtime/internal/wasitest/testdata/tcpecho.go

    	// are no more pre-opens.
    	for preopenFd := uintptr(3); ; preopenFd++ {
    		f := os.NewFile(preopenFd, "")
    		l, err := net.FileListener(f)
    		f.Close()
    
    		var se syscall.Errno
    		switch errors.As(err, &se); se {
    		case syscall.ENOTSOCK:
    			continue
    		case syscall.EBADF:
    			err = nil
    		}
    		return l, err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 25 00:12:41 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  5. test/typeparam/graph.go

    }
    
    type direction int
    
    const (
    	north direction = iota
    	ne
    	east
    	se
    	south
    	sw
    	west
    	nw
    	up
    	down
    )
    
    func (dir direction) String() string {
    	strs := map[direction]string{
    		north: "north",
    		ne:    "ne",
    		east:  "east",
    		se:    "se",
    		south: "south",
    		sw:    "sw",
    		west:  "west",
    		nw:    "nw",
    		up:    "up",
    		down:  "down",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. src/fmt/fmt_test.go

    	// Erroneous cases.
    	{"%[d", SE{2, 1}, "%!d(BADINDEX)"},
    	{"%]d", SE{2, 1}, "%!](int=2)d%!(EXTRA int=1)"},
    	{"%[]d", SE{2, 1}, "%!d(BADINDEX)"},
    	{"%[-3]d", SE{2, 1}, "%!d(BADINDEX)"},
    	{"%[99]d", SE{2, 1}, "%!d(BADINDEX)"},
    	{"%[3]", SE{2, 1}, "%!(NOVERB)"},
    	{"%[1].2d", SE{5, 6}, "%!d(BADINDEX)"},
    	{"%[1]2d", SE{2, 1}, "%!d(BADINDEX)"},
    	{"%3.[2]d", SE{7}, "%!d(BADINDEX)"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:55 UTC 2024
    - 58.6K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/check.go

    		}
    		blockMark[b.ID] = true
    		if b.Func != f {
    			f.Fatalf("%s.Func=%s, want %s", b, b.Func.Name, f.Name)
    		}
    
    		for i, e := range b.Preds {
    			if se := e.b.Succs[e.i]; se.b != b || se.i != i {
    				f.Fatalf("block pred/succ not crosslinked correctly %d:%s %d:%s", i, b, se.i, se.b)
    			}
    		}
    		for i, e := range b.Succs {
    			if pe := e.b.Preds[e.i]; pe.b != b || pe.i != i {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 16:41:23 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  8. src/encoding/json/encode.go

    }
    
    type structFields struct {
    	list         []field
    	byExactName  map[string]*field
    	byFoldedName map[string]*field
    }
    
    func (se structEncoder) encode(e *encodeState, v reflect.Value, opts encOpts) {
    	next := byte('{')
    FieldLoop:
    	for i := range se.fields.list {
    		f := &se.fields.list[i]
    
    		// Find the nested struct field by following f.index.
    		fv := v
    		for _, i := range f.index {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 36.2K bytes
    - Viewed (0)
  9. src/crypto/aes/aes_test.go

    // (Can adapt this code to generate them too.)
    func TestTd(t *testing.T) {
    	for i := 0; i < 256; i++ {
    		s := uint32(sbox1[i])
    		s9 := mul(s, 0x9)
    		sb := mul(s, 0xb)
    		sd := mul(s, 0xd)
    		se := mul(s, 0xe)
    		w := se<<24 | s9<<16 | sd<<8 | sb
    		td := [][256]uint32{td0, td1, td2, td3}
    		for j := 0; j < 4; j++ {
    			if x := td[j][i]; x != w {
    				t.Fatalf("td[%d][%d] = %#x, want %#x", j, i, x, w)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 14:58:19 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  10. src/mime/quotedprintable/writer_test.go

    		{in: "foo bar  \n", want: "foo bar =20\r\n", wantB: "foo bar  =0A"},
    		{in: "foo bar  \n ", want: "foo bar =20\r\n=20", wantB: "foo bar  =0A=20"},
    		{in: "¡Hola Señor!", want: "=C2=A1Hola Se=C3=B1or!"},
    		{
    			in:   "\t !\"#$%&'()*+,-./ :;<>?@[\\]^_`{|}~",
    			want: "\t !\"#$%&'()*+,-./ :;<>?@[\\]^_`{|}~",
    		},
    		{
    			in:   strings.Repeat("a", 75),
    			want: strings.Repeat("a", 75),
    		},
    		{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 06 17:36:47 UTC 2022
    - 5.1K bytes
    - Viewed (0)
Back to top