Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Ismail (0.24 sec)

  1. src/bytes/bytes_test.go

    				t.Errorf("IndexByte(%q, 'x') = %v", b1, pos)
    			}
    			b1[j] = 0
    			pos = IndexByte(b1, 'x')
    			if pos != -1 {
    				t.Errorf("IndexByte(%q, 'x') = %v", b1, pos)
    			}
    		}
    	}
    }
    
    // test a small index across all page offsets
    func TestIndexByteSmall(t *testing.T) {
    	b := make([]byte, 5015) // bigger than a page
    	// Make sure we find the correct byte even when straddling a page.
    	for i := 0; i <= len(b)-15; i++ {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  2. src/bufio/bufio_test.go

    				if len(p) < 5 {
    					panic("unexpected small read")
    				}
    				return 5, errors.New("5-then-error")
    			}),
    			n:            4,
    			want:         4,
    			wantErr:      nil,
    			wantBuffered: 1,
    		},
    		{
    			name: "fill error, discard equal",
    			r: newScriptedReader(func(p []byte) (n int, err error) {
    				if len(p) < 5 {
    					panic("unexpected small read")
    				}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  3. src/archive/zip/reader_test.go

    				Name:     "README",
    				Content:  []byte("This small file is in ZIP64 format.\n"),
    				Modified: time.Date(2012, 8, 10, 14, 33, 32, 0, time.UTC),
    				Mode:     0644,
    			},
    		},
    	},
    	// Another zip64 file with different Extras fields. (golang.org/issue/7069)
    	{
    		Name: "zip64-2.zip",
    		File: []ZipTestFile{
    			{
    				Name:     "README",
    				Content:  []byte("This small file is in ZIP64 format.\n"),
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/testdata/arm64.s

    	MOVD	$0, (R1)  // 3f0000f9
    	MOVW	$0, (R1)  // 3f0000b9
    	MOVWU	$0, (R1)  // 3f0000b9
    	MOVH	$0, (R1)  // 3f000079
    	MOVHU	$0, (R1)  // 3f000079
    	MOVB	$0, (R1)  // 3f000039
    	MOVBU	$0, (R1)  // 3f000039
    
    // small offset fits into instructions
    	MOVB	R1, 1(R2) // 41040039
    	MOVH	R1, 1(R2) // 41100078
    	MOVH	R1, 2(R2) // 41040079
    	MOVW	R1, 1(R2) // 411000b8
    	MOVW	R1, 4(R2) // 410400b9
    	MOVD	R1, 1(R2) // 411000f8
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Dec 08 03:28:17 GMT 2023
    - 94.9K bytes
    - Viewed (0)
  5. src/cmd/cgo/gcc.go

    };
    */
    
    func (c *typeConv) badJNI(dt *dwarf.TypedefType) bool {
    	// In Dalvik and ART, the jobject type in the JNI interface of the JVM has the
    	// property that it is sometimes (always?) a small integer instead of a real pointer.
    	// Note: although only the android JVMs are bad in this respect, we declare the JNI types
    	// bad regardless of platform, so the same Go code compiles on both android and non-android.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
Back to top