Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 164 of 164 for uint8 (0.03 sec)

  1. src/bytes/buffer_test.go

    	defer func() {
    		if err := recover(); err != ErrTooLarge {
    			t.Errorf("after too-large Grow, recover() = %v; want %v", err, ErrTooLarge)
    		}
    	}()
    
    	buf := NewBuffer(make([]byte, 1))
    	const maxInt = int(^uint(0) >> 1)
    	buf.Grow(maxInt)
    }
    
    // Was a bug: used to give EOF reading empty slice at EOF.
    func TestReadEmptyAtEOF(t *testing.T) {
    	b := new(Buffer)
    	slice := make([]byte, 0)
    	n, err := b.Read(slice)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Sep 03 20:55:15 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  2. src/cmd/cgo/doc.go

    appropriate padding to reach the next field or the end of the struct.
    
    The standard C numeric types are available under the names
    C.char, C.schar (signed char), C.uchar (unsigned char),
    C.short, C.ushort (unsigned short), C.int, C.uint (unsigned int),
    C.long, C.ulong (unsigned long), C.longlong (long long),
    C.ulonglong (unsigned long long), C.float, C.double,
    C.complexfloat (complex float), and C.complexdouble (complex double).
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Oct 01 22:52:54 UTC 2024
    - 44K bytes
    - Viewed (0)
  3. src/bytes/bytes_test.go

    			}
    		}
    	}
    
    	const maxInt = int(^uint(0) >> 1)
    
    	runTestCases("", []testCase{
    		0: {"--", -2147483647, "negative"},
    		1: {"", maxInt, ""},
    		2: {"-", 10, ""},
    		3: {"gopher", 0, ""},
    		4: {"-", -1, "negative"},
    		5: {"--", -102, "negative"},
    		6: {string(make([]byte, 255)), int((^uint(0))/255 + 1), "overflow"},
    	})
    
    	const is64Bit = 1<<(^uintptr(0)>>63)/2 != 0
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Aug 19 19:09:04 UTC 2024
    - 61.2K bytes
    - Viewed (0)
  4. cmd/testdata/xl-meta-merge.zip

    TïRGaIgn¸Anfï ² @a %`NC\U KluÖEjŠ Ylèû ¾>_ceòGs†r—ªˆ°ˆ B¼ûG†ƒ. ¸WñeLKVgn~g Uexø¨ [iVoRª ³ ghyßn¨y^mPiaïŠser|çå=¾ KE eò ˆÜa¢JUûvìŽf_ j¼^ï tiTkmòosŒiVtJy_@~Çå|G\m†`ñZ¾o{{Vû ?¾ZïKHòinOœ¢{jã:UDyy[ÚóbDˆCväêåk}Dym|<rGRý¨GwÈohWKnMªLB¼"iI²,% Œ; „vDoFûHewŠA{qmýGzã R¾Ùîñþ,ÏutSQTá>ï|¾N]n|çlM®‰sj…—†Yp¤~iÄ»two\Edtv}Ö~EE~m¬¸û|w\OF îo¾ ïhN ilñL¥zqK/t¢Sxst·ttcˆ¯ b_2ú m þ WlONl]FeIˆïTryrYT÷ETNIº W_c¢v`G eZ› „ Wls~`mDIÕ BsD}^yL5¤ÌFNLG ³¹si@xÃæÀ{[÷·ugòS{—YÐGFiÜy\‘~jC|»kKÕvID­8 + èepéì^˜»¹† ixÄãynï\º x]Ti|ôMV ëvÜø5]ï¾Xle¦BñpPow]xM...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Mar 08 17:50:48 UTC 2024
    - 30.2K bytes
    - Viewed (0)
Back to top