Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 140 for uints (0.08 sec)

  1. staging/src/k8s.io/api/discovery/v1/generated.pb.go

    			postIndex := iNdEx + msglen
    			if postIndex < 0 {
    				return ErrInvalidLengthGenerated
    			}
    			if postIndex > l {
    				return io.ErrUnexpectedEOF
    			}
    			if m.Hints == nil {
    				m.Hints = &EndpointHints{}
    			}
    			if err := m.Hints.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
    				return err
    			}
    			iNdEx = postIndex
    		default:
    			iNdEx = preIndex
    			skippy, err := skipGenerated(dAtA[iNdEx:])
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 55.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/discovery/v1beta1/generated.pb.go

    			postIndex := iNdEx + msglen
    			if postIndex < 0 {
    				return ErrInvalidLengthGenerated
    			}
    			if postIndex > l {
    				return io.ErrUnexpectedEOF
    			}
    			if m.Hints == nil {
    				m.Hints = &EndpointHints{}
    			}
    			if err := m.Hints.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
    				return err
    			}
    			iNdEx = postIndex
    		default:
    			iNdEx = preIndex
    			skippy, err := skipGenerated(dAtA[iNdEx:])
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 54.2K bytes
    - Viewed (0)
  3. src/encoding/json/decode_test.go

    	}
    }
    
    // The fix for issue 8962 introduced a regression.
    // Issue 12921.
    func TestSliceOfCustomByte(t *testing.T) {
    	type Uint8 uint8
    	want := []Uint8("hello")
    	data, err := Marshal(want)
    	if err != nil {
    		t.Fatalf("Marshal error: %v", err)
    	}
    	var got []Uint8
    	err = Unmarshal(data, &got)
    	if err != nil {
    		t.Fatalf("Unmarshal error: %v", err)
    	}
    	if !slices.Equal(got, want) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 16:40:14 UTC 2024
    - 67.6K bytes
    - Viewed (0)
  4. src/fmt/fmt_test.go

    	{"%☠", nil, "%!☠(<nil>)"},
    	{"%☠", any(nil), "%!☠(<nil>)"},
    	{"%☠", int(0), "%!☠(int=0)"},
    	{"%☠", uint(0), "%!☠(uint=0)"},
    	{"%☠", []byte{0, 1}, "[%!☠(uint8=0) %!☠(uint8=1)]"},
    	{"%☠", []uint8{0, 1}, "[%!☠(uint8=0) %!☠(uint8=1)]"},
    	{"%☠", [1]byte{0}, "[%!☠(uint8=0)]"},
    	{"%☠", [1]uint8{0}, "[%!☠(uint8=0)]"},
    	{"%☠", "hello", "%!☠(string=hello)"},
    	{"%☠", 1.2345678, "%!☠(float64=1.2345678)"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:55 UTC 2024
    - 58.6K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux.go

    	if size <= 0 {
    		return -1, EINVAL
    	}
    	return EpollCreate1(0)
    }
    
    //sys	FanotifyInit(flags uint, event_f_flags uint) (fd int, err error)
    //sys	fanotifyMark(fd int, flags uint, mask uint64, dirFd int, pathname *byte) (err error)
    
    func FanotifyMark(fd int, flags uint, mask uint64, dirFd int, pathname string) (err error) {
    	if pathname == "" {
    		return fanotifyMark(fd, flags, mask, dirFd, nil)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 77.5K bytes
    - Viewed (0)
  6. src/cmd/cgo/gcc.go

    		}
    		t.Go = c.uint8
    		t.Align = 1
    
    	case *dwarf.UintType:
    		if dt.BitSize > 0 {
    			fatalf("%s: unexpected: %d-bit uint type - %s", lineno(pos), dt.BitSize, dtype)
    		}
    		switch t.Size {
    		default:
    			fatalf("%s: unexpected: %d-byte uint type - %s", lineno(pos), t.Size, dtype)
    		case 1:
    			t.Go = c.uint8
    		case 2:
    			t.Go = c.uint16
    		case 4:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  7. src/runtime/mgcmark.go

    		}
    		gcw.heapScanWork = 0
    	}
    }
    
    // gcDrainN blackens grey objects until it has performed roughly
    // scanWork units of scan work or the G is preempted. This is
    // best-effort, so it may perform less work if it fails to get a work
    // buffer. Otherwise, it will perform at least n units of work, but
    // may perform more because scanning is always done in whole object
    // increments. It returns the amount of scan work performed.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  8. src/encoding/xml/marshal_test.go

    	Named int     `xml:"int,attr"`
    	Float float64 `xml:",attr"`
    	Uint8 uint8   `xml:",attr"`
    	Bool  bool    `xml:",attr"`
    	Str   string  `xml:",attr"`
    	Bytes []byte  `xml:",attr"`
    }
    
    type AttrsTest struct {
    	Attrs []Attr  `xml:",any,attr"`
    	Int   int     `xml:",attr"`
    	Named int     `xml:"int,attr"`
    	Float float64 `xml:",attr"`
    	Uint8 uint8   `xml:",attr"`
    	Bool  bool    `xml:",attr"`
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 18:46:41 UTC 2024
    - 66K bytes
    - Viewed (0)
  9. src/runtime/mheap.go

    type gcBits struct {
    	_ sys.NotInHeap
    	x uint8
    }
    
    // bytep returns a pointer to the n'th byte of b.
    func (b *gcBits) bytep(n uintptr) *uint8 {
    	return addb(&b.x, n)
    }
    
    // bitp returns a pointer to the byte containing bit n and a mask for
    // selecting that bit from *bytep.
    func (b *gcBits) bitp(n uintptr) (bytep *uint8, mask uint8) {
    	return b.bytep(n / 8), 1 << (n % 8)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
  10. src/reflect/type.go

    	k := t.Kind()
    	switch k {
    	case Uint, Uintptr, Uint8, Uint16, Uint32, Uint64:
    		bitSize := t.Size() * 8
    		trunc := (x << (64 - bitSize)) >> (64 - bitSize)
    		return x != trunc
    	}
    	panic("reflect: OverflowUint of non-uint type " + t.String())
    }
    
    func (t *rtype) CanSeq() bool {
    	switch t.Kind() {
    	case Int8, Int16, Int32, Int64, Int, Uint8, Uint16, Uint32, Uint64, Uint, Uintptr, Array, Slice, Chan, String, Map:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
Back to top