Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for Ismail (0.21 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. api/go1.20.txt

    pkg log/syslog (freebsd-riscv64), const LOG_LPR = 48 #53466
    pkg log/syslog (freebsd-riscv64), const LOG_LPR Priority #53466
    pkg log/syslog (freebsd-riscv64), const LOG_MAIL = 16 #53466
    pkg log/syslog (freebsd-riscv64), const LOG_MAIL Priority #53466
    pkg log/syslog (freebsd-riscv64), const LOG_NEWS = 56 #53466
    pkg log/syslog (freebsd-riscv64), const LOG_NEWS Priority #53466
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 21:23:32 GMT 2023
    - 602.6K bytes
    - Viewed (0)
  3. doc/initial/6-stdlib/99-minor/README

    API changes and other small changes to the standard library go here....
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Jan 22 18:07:49 GMT 2024
    - 69 bytes
    - Viewed (0)
  4. src/arena/arena.go

    This functionality in this package is mostly captured in the Arena type.
    Arenas allocate large chunks of memory for Go values, so they're likely to
    be inefficient for allocating only small amounts of small Go values. They're
    best used in bulk, on the order of MiB of memory allocated on each use.
    
    Note that by allowing for this limited form of manual memory allocation
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Oct 12 20:23:36 GMT 2022
    - 4.3K bytes
    - Viewed (0)
  5. 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)
  6. misc/wasm/wasm_exec.js

    					// may synchronously trigger a Go event handler. This makes Go code get executed in the middle of the imported
    					// function. A goroutine can switch to a new stack if the current stack is too small (see morestack function).
    					// This changes the SP, thus we have to update the SP used by the imported function.
    
    					// func wasmExit(code int32)
    					"runtime.wasmExit": (sp) => {
    						sp >>>= 0;
    JavaScript
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon May 22 17:47:47 GMT 2023
    - 16.3K bytes
    - Viewed (1)
  7. 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)
  8. src/cmd/cgo/internal/test/callback.go

    		}
    	}()
    	C.callPanic()
    }
    
    // Test that C code can return a value if it calls a Go function that
    // causes a stack copy.
    func testReturnAfterGrow(t *testing.T) {
    	// Use a new goroutine so that we get a small stack.
    	c := make(chan int)
    	go func() {
    		c <- int(C.returnAfterGrow())
    	}()
    	if got, want := <-c, 123456; got != want {
    		t.Errorf("got %d want %d", got, want)
    	}
    }
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 111.5K bytes
    - Viewed (0)
  9. src/archive/zip/writer_test.go

    		flags            uint16
    		crc32            uint32
    		uncompressedSize uint64
    		compressedSize   uint64
    	}{
    		{
    			name:    "small store w desc",
    			content: []byte("gophers"),
    			method:  Store,
    			flags:   0x8,
    		},
    		{
    			name:    "small deflate wo desc",
    			content: bytes.Repeat([]byte("abcdefg"), 2048),
    			method:  Deflate,
    		},
    	}
    
    	// write a zip file
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Sep 15 19:04:06 GMT 2023
    - 14.1K bytes
    - Viewed (0)
  10. src/archive/tar/reader_test.go

    		chksums []string  // MD5 checksum of files, leave as nil if not checked
    		err     error     // Expected error to occur
    	}{{
    		file: "testdata/gnu.tar",
    		headers: []*Header{{
    			Name:     "small.txt",
    			Mode:     0640,
    			Uid:      73025,
    			Gid:      5000,
    			Size:     5,
    			ModTime:  time.Unix(1244428340, 0),
    			Typeflag: '0',
    			Uname:    "dsymonds",
    			Gname:    "eng",
    			Format:   FormatGNU,
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Nov 21 21:14:38 GMT 2022
    - 47.1K bytes
    - Viewed (0)
Back to top