Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for Ismail (0.2 sec)

  1. src/builtin/builtin.go

    //	backed by this underlying array.
    //	Map: An empty map is allocated with enough space to hold the
    //	specified number of elements. The size may be omitted, in which case
    //	a small starting size is allocated.
    //	Channel: The channel's buffer is initialized with the specified
    //	buffer capacity. If zero, or the size is omitted, the channel is
    //	unbuffered.
    func make(t Type, size ...IntegerType) Type
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  2. src/bytes/bytes.go

    	case n == len(s):
    		if Equal(sep, s) {
    			return 0
    		}
    		return -1
    	case n > len(s):
    		return -1
    	case n <= bytealg.MaxLen:
    		// Use brute force when s and sep both are small
    		if len(s) <= bytealg.MaxBruteForce {
    			return bytealg.Index(s, sep)
    		}
    		c0 := sep[0]
    		c1 := sep[1]
    		i := 0
    		t := len(s) - n + 1
    		fails := 0
    		for i < t {
    			if s[i] != c0 {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  3. api/go1.1.txt

    pkg log/syslog (darwin-386), const LOG_LOCAL7 Priority
    pkg log/syslog (darwin-386), const LOG_LPR = 48
    pkg log/syslog (darwin-386), const LOG_LPR Priority
    pkg log/syslog (darwin-386), const LOG_MAIL = 16
    pkg log/syslog (darwin-386), const LOG_MAIL Priority
    pkg log/syslog (darwin-386), const LOG_NEWS = 56
    pkg log/syslog (darwin-386), const LOG_NEWS Priority
    pkg log/syslog (darwin-386), const LOG_NOTICE = 5
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Viewed (0)
  4. 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 23 11:13:09 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  5. 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 Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Feb 17 21:23:32 GMT 2023
    - 602.6K bytes
    - Viewed (0)
  6. doc/initial/6-stdlib/99-minor/README

    API changes and other small changes to the standard library go here....
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Jan 22 18:07:49 GMT 2024
    - 69 bytes
    - Viewed (0)
  7. 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 23 11:13:09 GMT 2024
    - Last Modified: Wed Oct 12 20:23:36 GMT 2022
    - 4.3K bytes
    - Viewed (0)
  8. 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 23 11:13:09 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  9. 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 23 11:13:09 GMT 2024
    - Last Modified: Mon May 22 17:47:47 GMT 2023
    - 16.3K bytes
    - Viewed (1)
  10. 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 23 11:13:09 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
Back to top